Description: |
(text/x-fossil-wiki)
In the following example, the trace does not occur:
<code><verbatim>
namespace eval ns1 {
proc p1 {} {}
trace add command p1 delete [list ::apply [list args {
puts hello
} [namespace current]]]
namespace delete [namespace current]
}
</verbatim></code>
The problem is that in prepration to invoke <code>apply</code>, the namespace
is looked up by name, but this fails for namespaces that are dying, causing
<code>TclNRApplyObjCmd</code> to fail.
Fixed in the bug-e593adf103-core-8 branch.
|