Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6725ffe36f1f56e436b25bbf6ec23903827fc120
Ticket: 2689307fffffffffffffffffffffffffffffffff
errorCode no longer set correctly in interactive mode
User & Date: tallniel on 2009-03-16 22:51:46
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Current CVS HEAD Tcl no longer seems to set the errorCode global variable correctly when operating in interactive mode:
    
    % info patch
    8.6b1.1
    % expr {1/0}
    divide by zero
    % set errorCode
    TCL LOOKUP VARNAME
    
    The correct errorCode (ARITH DIVZERO...) is produced when using [catch] or when placing the above code in a script. This seems to
    happen for all errors, including those created with throw/error or thrown from within procedures.
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "tallniel"
  10. subsystem changed to: "07. Variables"
  11. title changed to:
    errorCode no longer set correctly in interactive mode
    
  12. type changed to: "Bug"