.
D 2005-08-28T01:34:22
J assignee msofer
J cmimetype text/plain
J comment The\sbehaviour\sof\n\s\supvar\sotherVar\smyVar\nis\swrong\swhen\smyVar\sis\sa\squalified\sname,\sas\sit\sdoes\snot\nfollow\sTcl's\s(insane?)\svariable\sresolution\srules:\sit\nskips\sthe\sglobal\slookup\supon\sfailure\sof\sthe\slocal\sone.\nWitness:\n\n%\sset\sx\s1\n1\n%\snamespace\seval\sa\s{upvar\sx\sb::x}\ncan't\screate\s"b::x":\sparent\snamespace\sdoesn't\sexist\n%\snamespace\seval\sb\s{}\n%\snamespace\seval\sa\s{upvar\sx\sb::x}\ncan't\screate\s"b::x":\sparent\snamespace\sdoesn't\sexist\n%\snamespace\seval\sb\s{variable\sx\s2}\n%\snamespace\seval\sa\s{upvar\sx\sb::x}\ncan't\screate\s"b::x":\sparent\snamespace\sdoesn't\sexist\n%\snamespace\seval\sa\s{set\sb::x}\n2\n\nThis\sworked\sas\sexpected\sin\sTcl8.3.4,\sand\sis\sbroken\sas\ndescribed\sabove\sin\s8.4.7\sand\sHEAD.\sBreakage\swas\nprobably\sintroduced\sat\ssome\spoint\sin\sthe\s8.4\sline\n(LOOKUP_FOR_UPVAR).\n\n
J foundin None
J priority 8
J resolution None
J status Open
J submitter msofer
J subsystem 07.\sVariables
J title upvar\sand\squalified\svarNames
J type Bug
K 1274916fffffffffffffffffffffffffffffffff
U msofer
Z 31bdfcf40dc0a809673743ddf7823a97