Overview
| Artifact ID: | 883b4b3edceb1d1dd08e44a1bd23bb0a25c11159 |
|---|---|
| Ticket: | 1585064fffffffffffffffffffffffffffffffff
Namespace import behaves strange when redefining commands |
| User & Date: | mpc_janssen on 2006-10-26 12:49:32 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
When executing the following script: namespace eval debug { namespace export breakpoint proc on {} {proc breakpoint {{s {}}} {puts on}} proc off {} {proc breakpoint args {}} off } namespace import ::debug::* ::debug::on breakpoint No ouptut is shown while I expected on to be shown. when forcing reimport of the breakpoint proc with namespace import -force ::debug::* on is displayed for subsequent calls to breakpoint also when using the FQN ::debug::breakpoint on is displayed. When the off proc is defined as: proc off {} {proc breakpoint args {return}} It works as expected. - foundin changed to: "obsolete: 8.5a5"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mpc_janssen"
- subsystem changed to: "21. [namespace]"
- title changed to:
Namespace import behaves strange when redefining commands
- type changed to: "Bug"