Overview
| Artifact ID: | 012202d056a6563a1f48a3c871155d1c53ccfac7 |
|---|---|
| Ticket: | 959052ffffffffffffffffffffffffffffffffff
variable name resolution and unset vars |
| User & Date: | msofer on 2004-05-23 20:10:04 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Name resolution for variablesin namespaces sometimes finds variables that "do not exist" according to [info vars]. % namespace eval a upvar x q % info vars x % namespace eval b set x 1 1 % set x 1 % trace add variable x write {;#} % info vars x % namespace eval a set x 1 1 % set x 1 % namespace eval a {trace add variable x write {;#}} % set x 0 0 % info vars a::x % namespace eval a set x 1 1 % set x 0 % info vars a::x ::a::x The variables which are found contrary to [info vars] satisfy: - they have an entry in their namespace's hash table - they are unset, ie (varPtr->flags & VAR_UNDEFINED) - they are not namespace variables, ie !(varPtr->flags & VAR_NAMESPACE_VAR) - foundin changed to: "None"
- 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: "variable name resolution and unset vars"
- type changed to: "Bug"