Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a82b86208039421604d8cb199d1dc1bcf9f197f2
Ticket: 2102930fffffffffffffffffffffffffffffffff
Wrong return code from catch with pure list
User & Date: tallniel on 2008-09-10 01:43:20
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The [catch] command seems to return the wrong return code when a pure list is passed as the script:
    
    % catch break
    3
    % catch { break }
    3
    % catch [list break]
    1
    % set errorInfo
    invoked "break" outside of a loop
     ...
    
    Correct return should be 3 (TCL_BREAK) in all cases.
    Bug seems specific to 8.6.
    
    Neil
    
  4. foundin changed to: "obsolete: 8.6a3"
  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: "16. Commands A-H"
  11. title changed to: "Wrong return code from catch with pure list"
  12. type changed to: "Bug"