Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c8bf48b73fcd46fd95139a42558c3df6b6957e79
Ticket: 734402ffffffffffffffffffffffffffffffffff
catch fails to catch error
User & Date: nobody on 2003-05-08 01:47:32
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    catch [ error "This is an error"]
       Fails to catch to error in tcl 8.4.2.  In tcl 8.3,
    this correctly caught
    the error.  For this simple case, the obvious fix is:
    catch { error "This is an error" }
    However, the difference in behavior affects more
    complex scripts.
    
         -John <[email protected]>
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "catch fails to catch error"
  11. type changed to: "Bug"