Overview
| Artifact ID: | e25e56b9988eb0270312b699aa27a05fc0e571df |
|---|---|
| Ticket: | 480176ffffffffffffffffffffffffffffffffff
[global :v] makes wrong link |
| User & Date: | dgp on 2001-11-09 20:43:03 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
% proc test {} { global :v set v 1 set :v 2 } % test 2 % set :v 1 [global] is linking global variable :v to local variable v, rather than the correct local variable :v. Workaround: [global $varName] should be equivalent to [upvar #0 $varName [namespace tail $varName]] so one could just define it so. - foundin changed to: "obsolete: 8.4a4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "07. Variables"
- title changed to: "[global :v] makes wrong link"
- type changed to: "Bug"