Artifacts Associated With Ticket bd7f17bce8317824
Ticket change [8a66bf236c] (rid 147490) by dgp on 2016-07-05 18:09:21:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The Tcl*EvalObjv*() family of routines supports the TCL_EVAL_INVOKE flag to revise the evaluation sequence in ways that match the needs of a re-invocation model of a command. Examples include aliases, ensemble dispatch, [apply], oo forwards. The bug is that currently ensemble dispatch passes the TCL_EVAL_INVOKE flag to the routine TclNEEvalObjEx() which is not in that family, and which does not in its comments claim to support that flag. In fact it does not fully support that flag. It only does so in the particular case when the objPtr value to be evaluated is a canonical list, which it always has been up until recently.
- foundin initialized to: "8.6.5"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to:
TCL_EVAL_INVOKE passed to *EvalObjEx* which does not support it
- type initialized to: "Bug"
Ticket change [81881772e4] (rid 147491) by dgp on 2016-07-05 19:55:22:
- icomment:
Making Tcl_EvalEx() and similar support the flag is straightforward. See branch bug-bd7f17bce8. Supporting the flag in the bytecode engine appears far more difficult as there appears to be no existing flag support at all there.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [939fb2289d] (rid 147513) by dgp on 2016-07-06 13:31:37:
- icomment:
The best short term fix appears to be that invokers should be restricted to calling the *EvalObjv* family in order to impose the TCL_EVAL_INVOKE flag.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [5020edad22] (rid 147749) by dgp on 2016-07-09 14:30:37:
- assignee changed to: "dgp"
- closedate changed to: "2457579.10460101"
- closer changed to: "dgp"
- icomment:
Fixed for Tcl 8.6.6
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"