Overview
| Artifact ID: | 6510a1a9920b9b50306ec1374a314acd39bb2bef |
|---|---|
| Ticket: | 542142ffffffffffffffffffffffffffffffffff
Bug in bcc'ed [return] |
| User & Date: | msofer on 2002-04-10 19:29:33 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Andreas Kupries reports: I believe that I have found a bug in the bytecode compiler. Below a minimal example of the difference between 8.3.4 and 8.4 CVS head of last friday (April 5). What happens is that the "return" in the catch is not catched but stops execution of the surounding procedure. [andreask@pliers pro_ng]$ cat catch_test # -*- tcl -*- proc foo {} { set fail [catch { return }] ; # {} return 2 } puts "foo = [foo]" [andreask@pliers pro_ng]$ [andreask@pliers pro_ng]$ ./install/834/bin/tclsh8.3 catch_test foo = 2 [andreask@pliers pro_ng]$ [andreask@pliers pro_ng]$ [andreask@pliers pro_ng]$ ./install/84cvs/bin/tclsh8.4 catch_test foo = - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "Bug in bcc'ed [catch]"
- type changed to: "Bug"