Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ed482d6818b0749681aef9092ec25a03696a8eb7
Ticket: 2898722fffffffffffffffffffffffffffffffff
[namespace path] + command resolution inconsistencies
User & Date: ferrieux on 2009-11-18 05:30:27
Changes

  1. icomment:
    One fascinating thing in this : if you replace
    
    puts "mycmd"
    
    with
    
    puts "abcdef"
    
    or even
    
    puts "mycmd " ;# <- note the extra space
    
    then the effect disappears. So I suspect this is all related to shimmering of the mycmd literal between a cmdName and a String (when output to stdout with some nontrivial encoding). The shimmering explains why *after* executing the ::fu variant, the ::fu::bar gets activated. It doesn't explain though why the ::fu is called instead of the ::fu::bar after redefinition. To be continued.
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"