Overview
| Artifact ID: | 41d0463f4f492e59d10e71a9f9fc0849c2d4a361 |
|---|---|
| Ticket: | 2883036fffffffffffffffffffffffffffffffff
upvar-7.1 leaves irremovable variable |
| User & Date: | mistachkin on 2009-10-21 06:13:52 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Here is the test (stolen from tcl/tests/upvar.test): package require tcltest tcltest::test upvar-7.1 {upvar to same level} { set x 44 set y 55 catch {unset uv} upvar #0 x uv set uv abc upvar 0 y uv set uv xyzzy list $x $y } {abc xyzzy} The test passed. After the test, try these commands: info globals uv; # returns uv set uv; # returns "xyzzy" unset uv; # appears to succeed. info globals uv; # still returns uv unset uv; # fails with error: 'can't unset "uv": no such variable' - foundin changed to: "obsolete: 8.5.7"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "07. Variables"
- title changed to: "upvar-7.1 leaves irremovable variable"
- type changed to: "Bug"