Skip to content
Tcl Source Code Artifact [a668ba05d1]
Login

Artifact [a668ba05d1]

Artifact a668ba05d1fbab324d86f1d06188102d3e1528a0:

Ticket change [a668ba05d1] - New ticket [633204ffffffffff|633204ffff] <i>catch { return foo } breaks inside proc </i>. by nobody on 2002-11-04 11:05:42.
D 2002-11-04T11:05:42
J assignee msofer
J cmimetype text/plain
J comment \nIn\sTCL\s8.4.1:\s\n\n%\sinfo\spatchlevel\n8.4.1\n%\scatch\s{\sreturn\sfoo\s}\n2\n%\sproc\sfoo\s{}\s{\scatch\s{\sreturn\sfoo\s}\s}\n%\sfoo\n0\n%\n\n???\s\sPutting\sthe\scode\sinside\sa\sproc\schanges\sthe\sreturn\svalue?\nThese\sshould\sreturn\sthe\ssame\sthing.\s\sIn\sTcl\s8.3.3\s\n\n%\sinfo\spatchlevel\n8.3.3\n%\scatch\s{\sreturn\sfoo\s}\n2\n%\sproc\sfoo\s{}\s{\scatch\s{\sreturn\sfoo\s}\s}\n%\sfoo\n2\n%\n\nSince\sthe\sbehaviour\schanges\swhen\sthe\scode\sis\sput\sinside\sa\sproc,\s\nI\s*suspect*\sa\sbytecode\scompiler\sbug.\n\nDetails:\s\n\nTcl\s8.4.1\n$\suname\s-a\nSunOS\sxxxxxxxx\s5.7\sGeneric_106541-10\ssun4u\ssparc\s\nSUNW,UltraSPARC-IIi-cEngine\n$\sgcc\s--version\n2.95.2\n
J foundin obsolete:\s8.4.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 47.\sBytecode\sCompiler
J title catch\s{\sreturn\sfoo\s}\sbreaks\sinside\sproc\s
J type Bug
K 633204ffffffffffffffffffffffffffffffffff
U nobody
Z c2396c3f65668b2a87373e5bf42e9672