Overview
| Artifact ID: | 2c8dcee00677bc211fb8e97f2f76fe48d6f4948d |
|---|---|
| Ticket: | 1749596fffffffffffffffffffffffffffffffff
upvar and unset and traces: change in HEAD correct? |
| User & Date: | msofer on 2007-07-07 13:45:29 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
mig@uh:~$ tclsh8.4 % upvar 0 a(x) y % proc moo args {trace add variable ::a(x) unset moo; set ::y 1} % moo 1 % unset a % parray a % set y can't read "y": no such variable % set y 1 can't set "y": upvar refers to element in deleted array versus mig@uh:~$ /home/CVS/tcl_SF_clean/unix/tclsh % upvar 0 a(x) y % proc moo args {trace add variable ::a(x) unset moo; set ::y 1} % moo 1 % set y 1 % parray a a(x) = 1 What this means is that upvar in HEAD has snapshot semantics that are "less pure" than 8.4 - foundin changed to: "obsolete: 8.5a7"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "07. Variables"
- title changed to:
upvar and unset and traces: change in HEAD correct?
- type changed to: "Bug"