Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 99424ed4c70910bf0ae125cff68c90264dde110f
Ticket: 1436096fffffffffffffffffffffffffffffffff
unqualified cmd names in ensemble dicts
User & Date: dkf on 2007-11-01 04:36:45
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    Originator: NO
    
    Hmm, then we've got to just pick which bits to keep.
    
    I reckon we must preserve the fact that [uplevel 1 $script] runs in the context of the caller of the overall ensemble. Far more scripts are dependent on that than on [info level 0] or on [unknown]'s autoloading these days - lazy package loading is bad for other reasons too - and without preserving that chaos will reign when you wrap a command that really relies on that. (This is one of the things that is wrong with xotcl.)
    
    We can also make [info level 0] say how to call the command again so that [uplevel 1 [info level 0]] repeats the current command, called in the same way. But we can't keep all that without breaking [unknown]. We get to pick: square or circle, but not both.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"