Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e4ad0fbe8724a9be8f7decf6f2cf6568d7f66719
Ticket: 959786ffffffffffffffffffffffffffffffffff
bug in varName resolution
User & Date: msofer on 2004-05-24 23:29:52
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    reported by vince darley in tclcore:
    
    I notice that the latest cvs head has an
    incompatibility in the whole
    variable resolution process which, while it doesn't
    (apparently) break any
    of the test suite, does break a lot of code that I'm
    exposed to.  The
    basic incompatible change is that this:
    
    namespace eval foo {}
    
    proc foo::bar {} {
        global foo::name
        set foo::name 1
    }
    
    foo::bar
    
    ->"can't set "foo::name": parent namespace doesn't exist"
    
    throws the above error, which it never used to throw --
    in fact the above
    code worked fine (minus 'namespace') from Tcl 7.x
    through 8.5a1.  But now in 8.5a2 it throws an error.
    
    
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "7 High"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "07. Variables"
  10. title changed to: "bug in varName resolution"
  11. type changed to: "Bug"