Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0399a95e6e68f8530efa4e89f175712814002bec
Ticket: 959052ffffffffffffffffffffffffffffffffff
variable name resolution and unset vars
User & Date: msofer on 2004-05-24 08:37:54
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Note that the final judge of which variable should be set is 
    [namespace which -variable], according to namespace.n 
    This is not changed by the patch. 
    
    The patch insures that 
       set name [namespace which -variable x]
       info vars $name
    always returns $name. Previously:
    
      % trace add variable x write {;#}
      % namespace eval a {
              set name [namespace which -variable x]
          }
      ::x
      %  info vars ::x
    
    
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"