Skip to content
Tcl Source Code View Ticket
Login

View Ticket

env read trace botches return options

Closed / Fixed2151707fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-10-07 14:36:59
% set env(DGP)
can't read "env(DGP)": no such variable
% set errorInfo

    (read trace on "env(env)")
    invoked from within
"set env(DGP)"


Contrast with 8.4.19:

% set env(DGP)
can't read "env(DGP)": no such variable
% set errorInfo
can't read "env(DGP)": no such variable
    while executing
"set env(DGP)"
dgpplain2008-10-07 22:59:18
the simple part is just a typo
in the code: "part1" where "part2"
ought to be.

The more complex matter is a design
issue about adding trace information
to ::errorInfo (see test trace-35.1).
Examining...
dgpplain2008-10-08 00:52:23
File Added - 296471: 2151707.patch


Please review the TclObjVarErrMsg()
rewrite within this patch.
File Added: 2151707.patch
dgp Ticket [2151707fff]: 1 change [History diff]2008-10-08 03:25:42
msoferplain2008-10-08 05:35:15
Looks fine to me
dgpplain2009-03-30 12:23:57
Not sure why this wasn't closed
before, and the comments don't tell me.
Log in (anonymous is fine) to add a comment.

Attachments: