Skip to content
Tcl Source Code Artifact [ac0d86eb5f]
Login

Artifact [ac0d86eb5f]

Artifact ac0d86eb5f2096e46bfca084b74493a84566b60b:

Ticket change [ac0d86eb5f] - New ticket [231259ffffffffff|231259ffff] <i>cmdRefEpoch not updated</i>. by msofer on 2001-02-06 14:43:08.
D 2001-02-06T14:43:08
J assignee nobody
J cmimetype text/plain
J comment According\sto\sthe\scomments\sfor\sthe\sfunction\sTclResetShadowedCmdRefs\sin\sgeneric/tclNamesp.c\sthe\sfollowing\sshould\snot\shappen:\n\n\s\s\s%\s#define\sa\snamespace\sproc\sthat\suses\sthe\sglobal\scommand\s'set'\n\s\s\s%\snamespace\seval\smig\s{proc\stest\s{}\s{set\s::g\s0}};\smig::test\n\s\s\s0\n\s\s%\s\s\n\s\s%\s#define\sa\snamespace\sproc\s'set'\sthat\sshadows\sthe\sglobal\scommand;\s\n\s\s%\s#the\spreviously\scompiled\s'test'\snever\snotices!\n\s\s%\snamespace\seval\smig\s{proc\sset\s{a\sb}\s{::set\sa\s[incr\sb]}};\smig::test\s\s\s0\n\s\s%\s#>>>>>>>>>>>\n\s\s%\s#?\sShouldn't\sthe\snamespace\sepoch\shave\sbeen\sbumped\sup\sby\sthe\s\n\s\s%\s#shadowing,\s?\sso\sthat\sall\sprocs\sare\srecompiled?\n\s\s%\s#>>>>>>>>>>>\n\s\s%\n\s\s%\s#if\sI\sredefine,\sand\shence\sforce\srecompilation\sof\s'test',\sit\sis\sok.)\s\s\s\n\s\s%\snamespace\seval\smig\s{proc\stest\s{}\s{set\s::g\s0}};\smig::test\n\s\s\s1\n\s\s
J foundin obsolete:\s8.4a2
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 21.\s[namespace]
J title cmdRefEpoch\snot\supdated
J type Bug
K 231259ffffffffffffffffffffffffffffffffff
U msofer
Z 667d47a43841248197541cc4ca0bd6ee