Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 658e27498e9ee7d952cd945fc0ee25ca8d146605
Ticket: 2038069fffffffffffffffffffffffffffffffff
Too much errorinfo at catch
User & Date: dgp on 2008-08-05 22:02:08
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    Focusing just on the regression, uplevel
    is a red herring.  Prior to miguel's NRE
    commits on July 13:
    
    % proc demo {} {
        list [catch [list set] m o] $m $o
    }
    % demo
    1 {wrong # args: should be "set varName ?newValue?"} {-code 1 -level 0 -errorcode NONE -errorinfo {wrong # args: should be "set varName ?newValue?"
        while executing
    "set"
        invoked from within
    "catch [list set] m o"} -errorline 2}
    
    After the commits of July 13 & 14:
    
    % demo
    1 {wrong # args: should be "set varName ?newValue?"} {-code 1 -level 0 -errorcode NONE -errorinfo {wrong # args: should be "set varName ?newValue?"
        while executing
    "catch [list set] m o"} -errorline 2}
    
    It is important that the script argument to
    [catch] is the result of a substitution to
    see this change.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"