Tcl Source Code

View Ticket
Login
Ticket UUID: 2151707
Title: env read trace botches return options
Type: Bug Version: obsolete: 8.5.4
Submitter: dgp Created on: 2008-10-07 14:36:59
Subsystem: 46. Traces Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-03-30 12:23:57
Resolution: Fixed Closed By: dgp
    Closed on: 2009-03-30 05:23:57
Description:
% 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)"
User Comments: dgp added on 2009-03-30 12:23:57:
Not sure why this wasn't closed
before, and the comments don't tell me.

msofer added on 2008-10-08 05:35:15:
Looks fine to me

dgp added on 2008-10-08 00:52:23:

File Added - 296471: 2151707.patch


Please review the TclObjVarErrMsg()
rewrite within this patch.
File Added: 2151707.patch

dgp added on 2008-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...

Attachments: