.
D 2006-11-03T23:14:19
J assignee msofer
J cmimetype text/plain
J comment Aliases\sresolve\scommand\snames\sin\sthe\sglobal\snamespace,\nbut\sexecute\sin\sthe\scaller's\sscope.\sIn\sthe\spresence\sof\ntraces\sthat\scause\sa\ssecond\sresolution,\sthe\ssecond\stime\nthe\sresolution\sproceeds\sin\scaller\sscope\sinstead\sof\sglobal:\n\nmig@ice:~$\scat\s/tmp/trace\nset\sres\s{}\nproc\sx\s{}\s{return\s::}\nnamespace\seval\sa\s{}\nproc\sa::x\s{}\s{return\s::a}\ninterp\salias\s{}\sy\s{}\sx\nlappend\sres\s[namespace\seval\sa\sy]\ntrace\sadd\sexecution\sx\senter\s{\n\s\s\s\s\s\srename\s::x\s{}\n\s\s\s\s\s\sproc\s::x\s{}\s{return\s::}\n\s\s\s\s\s\s#}\nlappend\sres\s[namespace\seval\sa\sy]\n\nputs\s$res\nmig@ice:~$\s/home/CVS/tcl8.5a5/unix/tclsh\s/tmp/trace\n::\s::a\n\nCorrect\sbehaviour\sis\srestored\swith\sthe\sattached\spatch,\nreturning\n::\s::
J foundin obsolete:\s8.5a6
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 45.\sParsing\sand\sEval
J title error\sin\scmd\straces\s&\saliases
J type Bug
K 1590232fffffffffffffffffffffffffffffffff
U msofer
Z 7c4ba9abf56adb29b568d9d82857e7e0