.
D 2003-04-29T16:27:44
J assignee msofer
J cmimetype text/plain
J comment The\sfollowing\spiece\sof\scode\sdoesn't\swork\sas\sexpected\ndue\sto\sthe\sempty\sproc\sbody\soptimization\sthat\swent\sinto\nTcl\s8.4.\n\nproc\sbar\sargs\s{}\nproc\smain\s{}\s{\n\s\s\s\sproc\sbar\sargs\s{puts\s"this\sis\sbar"}\n\s\s\s\sbar\n}\nmain\n\nWhile\sthis\sexample\sis\sartificial,\sI\sstumbled\sover\sthis\nbug\sin\sa\ssituation\swhere\sa\s(formerly\sempty)\sproc\sgot\nredefined\sthrough\sby\n\snamespace\simport\s-force\nand\sinvoked\simmediately\safterwards,\sall\swithin\sthe\ssame\narm\sof\sa\sswitch\sstatement.\sSo\sit\stook\sme\ssome\stime\s(and\nthe\shelp\sof\sfellow\sTcl'ers\son\sthe\schat)\sto\sfind\sout\nwhat's\sgoing\son.\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter rmax
J subsystem 47.\sBytecode\sCompiler
J title empty\sbody\soptimization\sdoes\stoo\smuch
J type Bug
K 729692ffffffffffffffffffffffffffffffffff
U rmax
Z fcf47117bf062db9593ac287964f0d27