Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 31b8434c9ebd086e96e2481537c282aa74862e70
Ticket: d87cb182053fd79b3fc16054526620f2dfb25d96
inconsisency in behaviour of tailcall from (builtin) namespace ensembles
User & Date: msofer on 2015-03-20 23:16:53
Changes

  1. icomment:
    TclSkipTailcall just means "when looking for a place to splice in the tailcall, do not do it here - skip this spot, look at the previous command". It is used so that tailcalling out of a redirector (alias, ensemble, etc) really empties the stack - go to the redirector, don't stay at the redirection target. If it is missing, the "bug" will be a resource leak in repeated tailcalls.
    
    Not sure if this is tested, but if it is it would only show when tested in a memdebug build - as the leak tests rely on [memory]
    
  2. login: "msofer"
  3. mimetype: "text/plain"