Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4f0647f2170654e20994ca0084ea47dc6d65cfee
Ticket: 2868499fffffffffffffffffffffffffffffffff
TIP #348: Substituted errorStack
User & Date: ferrieux on 2010-03-18 05:39:45
Changes

  1. icomment:
    Attached patch doing as promised, [return -errorstack], and a new test case checking that this affects [info errorstack] on subsequent [catch] as expected.
    
    Note that it also includes the fix for 2383005.
    
    Note however, that in both cases if a non-list like "{}a" is passed to [return -errorstack/errorcode], the resulting error message remains the final arg of [return -code error ...] instead of 'list element in braces followed by "a" instead of space'.
    
    I suspect this is the work of Tcl_TransferResult but I'm not familiar with that part, I'd appreciate help (ipso facto solving 2383005).
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"