Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d8cec8e608a358b70e78b854c335ae0a4f284f66
Ticket: 2649975fffffffffffffffffffffffffffffffff
bizarre interaction of uplevel and tailcall
User & Date: dkf on 2009-03-17 16:17:35
Changes

  1. icomment:
    Having slept on it, I think the issue is related to the fact that TclNREvalObjEx-list doesn't push the same callbacks as TclNREvalObjEx-string. Respectively:
    
      TclNREvalObjEx-list:
        TEOEx_ListCallback
        NRCommand
        NRRunObjProc
    
      TclNREvalObjEx-string:
        TEOEx_ByteCodeCallback
        NRCallTEBC
    
    According to what I can (and can't) see in the code, the issue might be that NRCommand doesn't do tailcall processing; that's only done in TEBC (which doesn't get called at this level on the canonical-list route).
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"