Skip to content
Tcl Source Code Artifact [383c16ddb2]
Login

Artifact [383c16ddb2]

Artifact 383c16ddb220fbd73ef6be915e77e78a75548b6c:

Ticket change [383c16ddb2] - New ticket [729692ffffffffff|729692ffff] <i>empty body optimization does too much</i>. by rmax on 2003-04-29 16:27:44.
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