Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d23152f930813edb90b2926c2b63b5ecec74caf1
Ticket: 1770591fffffffffffffffffffffffffffffffff
whole array write traces on compiled locals do not fire
User & Date: nyademo on 2007-08-09 05:05:33
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl8.5a7 HEAD
    Windows2000SP2/Mingw
    
    
    proc testInit {} {
        global env
        if {![info exists env(TEST)]} {
            set env(TEST) testval
        }
    }
    testInit
    
    if {[catch {
        puts $env(TEST)
    } msg]} {puts Error:$msg}
    
    
    I expected to output "testval", but the result was
    Error:can't read "env(TEST)": no such variable.
    It caused a breakdown of the Tktable's init script too.
    
  4. foundin changed to: "obsolete: 8.5a7"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nyademo"
  10. subsystem changed to: "07. Variables"
  11. title changed to:
    can't read env var that is set in proc with global cmd.
    
  12. type changed to: "Bug"