Skip to content
Tcl Source Code Artifact [aa425272ae]
Login

Artifact [aa425272ae]

Artifact aa425272ae15c119ea3acf9a0d1254bb738a50bc:

Ticket change [aa425272ae] - Ticket [1436096fffffffff|1436096fff] <i>unqualified cmd names in ensemble dicts</i> status still Open with 5 other changes by msofer on 2007-11-01 00:12:03.
D 2007-11-01T00:12:03
J assignee dgp
J icomment Logged\sIn:\sYES\s\nuser_id=148712\nOriginator:\sNO\n\nAgreed,\sbut\sI\sdo\snot\sknow\show\sto\sfix\sthis\swithout\sbreaking\sother\sstuff.\sSpecifically,\sthe\sbehaviour\scaused\sby\sTCL_EVAL_INVOKE\swhere\sa\scommand\sname\sis\sresolved\sin\sa\sspecial\scontext,\sbut\sthe\scommand\sis\sthen\sinvoked\sfrom\sthe\scaller's\scontext,\ssubtly\sbreaks\s[uplevel]\sexpectations\s(and\s[unknown]).\sIn\sparticular\n\s\suplevel\s1\s[info\slevel\s0]\nmay\sfail\sto\scall\sthe\scurrent\sproc\s-\sas\sthe\slookup\swill\snow\sproceed\sin\sthe\scaller's\scontext\sand\snot\sin\sthe\sspecial\scontext\srequired\sby\sTCL_EVAL_INVOKE.\sConsider\n\s\s%\sproc\sa\sargs\s{namespace\seval\s::a\s$args}\n\s\s%\sa\sproc\stell\sargs\s{info\slevel\s0}\n\s\s%\sa\snamespace\sexport\stell\s\s\s\s\s\s\s\s\s\s\s\n\s\s%\sa\snamespace\sensemble\screate\s-command\s::foo\n\s\s::foo\n\s\s%\sfoo\stell\n\s\s::a::tell\n\nIf\sthe\sresult\swere\s'tell'\sthe\seffect\sabove\swould\soccur.\n\nThis\sbehaviour\sis\salready\sproblematic\sin\s[interp\salias],\sin\sa\smilder\sform:\sthe\slookup\sis\sdone\sin\sa\sprevisible\scontext\s(global).\s\n\n\n
J login msofer
J mimetype text/plain
J username msofer
K 1436096fffffffffffffffffffffffffffffffff
U msofer
Z 4f1f0d94bee2e3acc29e651df269bbe1