Artifacts Associated With Ticket 20a81392ec05bcd1
Ticket change [5ea3cd7ac1] (rid 132396) by dgp on 2013-06-24 19:22:39:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% proc foo {} {catch {expr !1.x}; {}{}} % foo extra characters after close-brace % set errorInfo invalid bareword "x" in expression "!1.x"; should be "$x" or "{x}" or "x(...)" or ... (parsing expression "!1.x") invoked from within "{}{}" (procedure "foo" line 1) invoked from within "foo" This illustrates the defect that Tcl_ResetResult() is not called each pass through the do {...} while () loop in TclCompileScript(). - foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "error msg housekeeping in TclCompileScript"
- type initialized to: "Bug"
Ticket change [cba7c64732] (rid 132397) by dgp on 2013-06-24 19:23:20:
- assignee changed to: "dgp"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [617ee93a98] (rid 132398) by dgp on 2013-06-24 19:24:28:
- icomment:
Corrected results: % proc foo {} {catch {expr !1.x}; {}{}} % foo extra characters after close-brace % set errorInfo extra characters after close-brace while executing "{}{}" (procedure "foo" line 1) invoked from within "foo" - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [64d78eccba] (rid 132399) by dgp on 2013-06-24 19:29:08:
- icomment:
Another demo: % proc foo {} {catch {expr !1.x}; expr !1.bar} % foo invalid bareword "bar" in expression "!1.bar"; should be "$bar" or "{bar}" or "bar(...)" or ... % set errorInfo invalid bareword "x" in expression "!1.x"; should be "$x" or "{x}" or "x(...)" or ... (parsing expression "!1.x") (parsing expression "!1.bar") invoked from within "expr !1.bar" (procedure "foo" line 1) invoked from within "foo" - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [383aac30d0] (rid 133337) by dgp on 2013-08-14 17:33:15:
- icomment:
This is fixed on trunk for 8.6.1. Have to decide whether to backport for 8.5.15.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [571b6c00c5] (rid 145487) by dgp on 2016-03-11 15:45:14:
- closedate changed to: "2457459.15641781"
- closer changed to: "dgp"
- icomment:
Not backported to 8.5 by now it's not going to happen.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"