Artifacts Associated With Ticket 2433843
Ticket change [49f590a984] (rid 126460) by dgp on 2008-12-16 16:41:41:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% proc demo {} { return -level 0 -code ok -leaky option set x } % catch demo m o 1 % set o -leaky option -code 1 -level 0 -errorcode NONE -errorinfo {can't read "x": no such variable while executing "set x" (procedure "demo" line 3) invoked from within "demo"} -errorline 1 % info patch 8.5.5 Problem appears to be that all commands returning TCL_OK bypass any (emulation of) Tcl_ResetResult() on the theory that results are managed on the execution stack so long as bytecode is in control. This means resetting of the return options dict gets skipped. - foundin initialized to: "obsolete: 8.5.5"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "return options can leak to next bytecode"
- type initialized to: "Bug"
Ticket change [db77912805] (rid 107968) by dgp on 2008-12-17 00:00:21:
- assignee changed to: "dgp"
Ticket change [320738a7bf] (rid 93538) by dgp on 2009-04-03 02:51:19:
- icomment:
see also 2007198
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment: