Skip to content
Tcl Source Code View Ticket
Login

View Ticket

ns delete & traces: result leakage

Closed / Out of Date1189441fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 21 years ago
Descriptionplain2005-04-25 12:48:02
% namespace eval foo {
    proc bar {} {}
    trace add command bar delete {puts boo;#}
}
% namespace delete foo
boo
unknown command "::foo::bar"
% set errorInfo
can't read "savedErrorInfo": no such variable
    while executing
"set ::errorInfo $savedErrorInfo"

It seems that a bogus error is happening, but that it
is also not really an error in the first place. In
fact, it really appears to be the leakage of a
non-empty result out of [namespace delete] in a case
that is not an error.
dgpplain2005-04-25 22:12:09
Logged In: YES 
user_id=80530


related to 1047286 ?
msoferplain2005-10-22 10:19:32
Logged In: YES 
user_id=148712

HEAD does not show this behaviour anymore
msofer Ticket [1189441fff]: 2 changes [History diff]2005-10-22 10:19:33
Log in (anonymous is fine) to add a comment.