Artifact
6510a1a9920b9b50306ec1374a314acd39bb2bef:
Ticket change
[6510a1a992]
- New ticket
[542142ffffffffff|542142ffff] <i>Bug in bcc'ed [catch]</i>.
by
msofer on
2002-04-10 19:29:33.
D 2002-04-10T19:29:33
J assignee msofer
J cmimetype text/plain
J comment Andreas\sKupries\sreports:\n\nI\sbelieve\sthat\sI\shave\sfound\sa\sbug\sin\sthe\sbytecode\ncompiler.\sBelow\sa\sminimal\sexample\sof\sthe\sdifference\nbetween\s8.3.4\sand\s8.4\sCVS\shead\sof\slast\sfriday\s(April\s5).\n\nWhat\shappens\sis\sthat\sthe\s"return"\sin\sthe\scatch\sis\snot\ncatched\sbut\sstops\sexecution\sof\sthe\ssurounding\sprocedure.\n\n\n[andreask@pliers\spro_ng]$\scat\scatch_test\n#\s-*-\stcl\s-*-\n\nproc\sfoo\s{}\s{\n\s\s\s\sset\sfail\s[catch\s{\n\s\s\s\s\s\s\s\sreturn\n\s\s\s\s}]\s;\s#\s{}\n\n\s\s\s\sreturn\s2\n}\n\nputs\s"foo\s=\s[foo]"\n[andreask@pliers\spro_ng]$\n[andreask@pliers\spro_ng]$\s./install/834/bin/tclsh8.3\ncatch_test\nfoo\s=\s2\n[andreask@pliers\spro_ng]$\n[andreask@pliers\spro_ng]$\n[andreask@pliers\spro_ng]$\s./install/84cvs/bin/tclsh8.4\ncatch_test\nfoo\s=\n\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 47.\sBytecode\sCompiler
J title Bug\sin\sbcc'ed\s[catch]
J type Bug
K 542142ffffffffffffffffffffffffffffffffff
U msofer
Z 7fd5c563611206669558f7b236380d81