Skip to content
Tcl Source Code History Of Ticket 577015ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 577015ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 577015ffffffffffffffffffffffffffffffffff

  1. Ticket change [222d562c6f] (rid 130700) by nobody on 2002-07-03 15:36:00:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Version: 8.3.4
      OS: Windows NT 4.0 SP 6 and Windows 2000
      
      Problem:
      When using expr within a catch statement, sometimes an 
      error is still thrown. For example:
      
      catch {expr NA}
      -> Throws an error
      
      catch {expr NA} cerr
      -> Returns 1
      
      catch {expr}
      -> Throws an error
      
      catch {expr} cerr
      -> Returns 1
      
      catch {expr this should work}
      -> Returns 1
      
      catch {expr 5/0}
      -> Returns 1.
      
      Expected behavior:
      Should return 1 on any error condition.
      
      
    4. foundin initialized to: "obsolete: 8.3.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "catch {expr something} is spotty"
    11. type initialized to: "Bug"
  2. Ticket change [871452ba8d] (rid 131632) by dkf on 2002-07-03 22:45:49:

    1. assignee changed to: "msofer"
  3. Ticket change [c9c1e25ea2] (rid 122342) by msofer on 2002-07-04 00:38:00:

    1. closedate changed to: "2002-07-03T17:38:00"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      The [catch] compiler should never return TCL_ERROR, as this
      prevents the error to be caught. It now returns
      TCL_OUT_LINE_COMPILE instead, so that the error occurs at
      runtime and can be caught.
      
      Fixed in HEAD and tcl-core-8-3-1-branch.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. subsystem changed to: "47. Bytecode Compiler"
    9. username: "msofer"