Overview
| Artifact ID: | a3a31126c210b937ae7f63c59c6c325a38ba59ab |
|---|---|
| Ticket: | a4494e28edfaa3a5d064dd1d91cfbd6163b6fb20
alias trace did not find command in real command list of import references |
| User & Date: | dgp on 2014-02-06 15:50:06 |
Changes
- icomment:
The "Don't Do That" workaround is to place the command delete trace on the import, and not the original. namespace eval ::demo { proc foo args {} namespace export foo namespace eval ::x [list namespace import [namespace which foo]] # trace add command foo delete {namespace delete ::x;#} namespace eval ::x {trace add command foo delete {namespace delete ::x;#}} proc foo {} {} } - login: "dgp"
- mimetype: "text/plain"