Overview
| Artifact ID: | 7038d20e734bf8d9d41c0fbb5f872a1eb1f87976 |
|---|---|
| Ticket: | 2431847fffffffffffffffffffffffffffffffff
Junk at start of errorInfo when using [dict get] on arrays |
| User & Date: | ferrieux on 2008-12-16 22:10:57 |
Changes
- icomment:
OK after a bit of cvs history diving, I have the impression that the ResetResult reform by miguel on [revision 1.239, Fri Jul 21 10:47:18 2006 UTC] of tclExecute.c did include one unwanted commenting out of Tcl_ResetResult(). Indeed that reform was a positive move turning a random scattering of ResetResults into a few well-selected ones. But I fear the "removal" part was made in a rather automatic way (miguel correct me if I'm wrong), and (quite forgivably) overlooked the special case id [dict get] which is still required because it is coupled with a Tcl_AppendResult preparing an error message. So I think this Tcl_ResetResult should have stayed here. However Donal, you fixed it by emulating it at a lower level: TclNewObj+Tcl_SetObjResult. Can you explain why ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"