Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2013-01-17
18:02 • New ticket [3601284fff] testinterpresolver breaks epoch rules. artifact: 86c35829dd user: dgp

[testinterpresolver] breaks epoch rules

Open3601284fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2013-01-17 18:02:31
The testing command [testinterpresolver] adds an interp
cmd resolver that behaves inconsistently with the epoch
checking built in to the "cmdName" Tcl_ObjType.

The routine InterpCmdResolver() does it command name
resolution based on context details other than the set of things
a "cmdName" Tcl_Obj recognizes as releveant to the resolution
task.  This means that InterpCmdResolver can produce different
results in different contexts, but a "cmdName" holding a result
from an earlier context cannot recognize the need to repeat
the resolution in the new context.

This makes command resolution with this testing command in
place sensitive to shimmer and share patterns of usage, exposing
internals that ought to be hidden.
Log in (anonymous is fine) to add a comment.