Artifacts Associated With Ticket 46450b464e
Ticket change [e754f766d1] (rid 154148) by pooryorick on 2017-06-02 11:21:14:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
<code><verbatim> namespace eval ns1 { namespace delete [namespace current] namespace eval [namespace current] {} namespace eval doc {} set doc::var1 val1 ::apply [list {} { puts $doc::var1 ;# -> can't read "$doc::var1": no such variable } [namespace current]] } </verbatim></code> - foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "pooryorick"
- priority initialized to: "5 Medium"
- private_contact initialized to: "e476148cded301ffff84bcdc432536dc0c949e88"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "pooryorick"
- subsystem initialized to: "21. [namespace]"
- title initialized to: "A namespace loses track of itself"
- type initialized to: "Bug"
Ticket change [b4abfa9f27] (rid 154151) by pooryorick on 2017-06-02 12:16:48:
- comment changed to:
<code><verbatim> namespace eval ns1 { namespace delete [namespace current] namespace eval [namespace current] {} namespace eval doc {} set doc::var1 val1 ::apply [list {} { puts $doc::var1 ;# -> can't read "$doc::var1": no such variable } [namespace current]] } </verbatim></code> And here is an example where two variables, both having the name $ns1::doc::var1 print their different values: <code><verbatim> namespace eval ns1 { namespace delete [namespace current] namespace eval [namespace current] {} namespace eval doc {} set doc::var1 val1 ::apply [list {} { namespace eval doc {} set doc::var1 val2 puts $doc::var1 } [namespace current]] puts $doc::var1 } </verbatim></code> - login: "pooryorick"
- mimetype: "text/plain"
- comment changed to: