Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b8cbf59c6f83ffd75d51c1820d43a95473fbb970
Ticket: 631741ffffffffffffffffffffffffffffffffff
[variable] should not call var resolvers
User & Date: dgp on 2003-02-25 05:32:00
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    That's clearer, but isn't it wrong?
    
    In plain ordinary Tcl, with
    
    proc test {} {
        set a 5;
    }
    
    the variable "a" would always
    be a local variable.  If I wanted
    it to refer to the namespace-level
    variable named "a", I'd expect to
    have to call [variable a] first.
    
    Or is this discussion (and the
    notion of "resolver scope") only
    relevant when some 
    extension-provided variable
    resolver is in control ?
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. title changed to: ""variable" can't not call var resolvers"
  5. username: "dgp"