Overview
| Artifact ID: | 03233c5b8bd77768fb578f9ba3baee5f2d1de177 |
|---|---|
| Ticket: | 1016167fffffffffffffffffffffffffffffffff
[after] overwrites its imports |
| User & Date: | dgp on 2004-08-25 17:27:34 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
% namespace export after % namespace eval foo namespace import ::after % namespace origin foo::after ::after % foo::after 1 % namespace origin foo::after ::foo::after Tcl_AfterObjCmd incorrectly assumes that objv[0] holds the name of the built-in after command itself, and uses Tcl_SetCommandInfo to overwrite "itself" With [namespace import]ed commands, though, objv[0] is the [namespace import]-created command, not the original. The overwrite causes it to become an alternative implementation of [after], rather than an imported link to [after], as the different [namespace origin] results demonstrate.
- foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "03. Timer Events"
- title changed to: "[after] overwrites its imports"
- type changed to: "Bug"