Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3075b76c87ea0b08fc30ef9fd4b8826e62a2534f
Ticket: 2868499fffffffffffffffffffffffffffffffff
TIP #348: Substituted errorStack
User & Date: ferrieux on 2010-03-25 04:40:14
Changes

  1. icomment:
    Re the relative levels: this is both intentional and hard to avoid.
    
    - Intentional, because only a relative level allows unambiguous interpretation  of the scopes when the error stack is not taken from toplevel (eg in a deep [catch]), hence the lat item is not at level 1. {uplevel N} simply means you need to skip N (non-uplevel) items on the right to find the scope.
    
    - Hard to avoid, because the exact nature of the scope-shifting operation can be very varied, and distinguishing absolute and relative uplevels would imply re-parsing the text or just-run bytecode (eeek).
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"