Skip to content
Tcl Source Code History Of Ticket 542142ffffffffff
Login

History Of Ticket 542142ffffffffff

Artifacts Associated With Ticket 542142ffffffffff

  1. Ticket change [6510a1a992] (rid 92885) by msofer on 2002-04-10 19:29:33:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 =
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "47. Bytecode Compiler"
    10. title initialized to: "Bug in bcc'ed [catch]"
    11. type initialized to: "Bug"
  2. Ticket change [ed775ca747] (rid 103884) by msofer on 2002-04-11 03:12:32:

    1. icomment:
      
      
      File Added - 20934: bcCatch.patch
      
      Logged In: YES 
      user_id=148712
      
      The patch attached solves the issue.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Add attachment "bcCatch.patch" [c30f0be0f1] (rid 111590) by msofer on 2002-04-11 03:12:32.

  4. Ticket change [932d50405c] (rid 105771) by msofer on 2002-04-16 00:34:00:

    1. closedate changed to: "2002-04-15T17:34:00"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Patch committed: bytecodes now check for a possible [catch]
      before returning. Before this, the bytecompiled [return] was
      uncatchable.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"
  5. Ticket change [86045144cc] (rid 131431) by msofer on 2002-08-14 03:35:30:

    1. closedate changed to: "2002-08-13T20:35:30"
    2. closer changed to: "msofer"
    3. title changed to: "Bug in bcc'ed [return]"