Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce215f4d11bf040cc9bf4e9a8e350566005248cf
Ticket: 2102930fffffffffffffffffffffffffffffffff
Wrong return code from catch with pure list
User & Date: msofer on 2008-09-10 20:25:19
Changes

  1. closedate changed to: "2008-09-10T13:25:19"
  2. closer changed to: "msofer"
  3. icomment:
    The bug can only happen at the console (where bytecodes can run at level 0) and is triggered by INST_EVAL_STK neither upping the level nor setting TCL_EVAL_NOERR. We normally do not care much about numLevels, except for checking the recursion level and converting some codes to TCL_ERROR at level 0. TEBC is particularly lax about setting numLevels for scripts embedded in it (no deep recursion is possible, it would have blown the compiler first), but in the case of INST_EVAL_STK at level 0 it seems to be important.
    
    It only happens for canonical lists because the other case is handled within TEBC itself and the level check is omitted.
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "msofer"