Overview
| Artifact ID: | 19b420ce982c4c0bed44d3a177b07c1fccfec3d3 |
|---|---|
| Ticket: | 2785893fffffffffffffffffffffffffffffffff
bug in command name caching |
| User & Date: | msofer on 2009-05-03 02:36:06 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
This is correct: a deleted namespace cannot be found by name, even if it is still active! % namespace eval ns {} % proc ns::adios {} {namespace delete ::ns; eval ::ns::adios} % ns::adios invalid command name "::ns::adios" This is correct: active commands in a deleted namespace have access to the namespace's commands % proc ns::adios {} {namespace delete ::ns; adios} % ns::adios unknown namespace "::ns" in namespace delete command This is wrong: the command was cached in the literal, and it was not cleared! The behaviour should be the same as in the first example. % namespace eval ns {} % proc ns::adios {} {namespace delete ::ns; ::ns::adios} % ns::adios unknown namespace "::ns" in namespace delete command - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "bug in command name caching "
- type changed to: "Bug"