Overview
| Artifact ID: | 1ce29f103d93c2db8099f992af334aa60e2cfcc7b866f08284ca51a9873e2028 |
|---|---|
| Ticket: | 8d1fc70995703e6727591d7179833a4a1970d6a5
lseq "count" error persists across calls |
| User & Date: | apnadkarni on 2026-01-14 17:38:46 |
Changes
- icomment:
I think the optimization in function `SequenceIdentifyArgument` is broken ``` if (TclHasInternalRep(argPtr, &tclExprCodeType)) { goto doExpr; } ``` Basing a decision on the *current* internal representation type feels like it violates EIAS. Here for example, "count" is an invalid expression but still has bytecode representing it generated (which will raise an error). "count" passed as the third argument though is not to be treated as an integer but a keyword. The above fragment means that treatment of "count" depends on what the last type it was shimmered to which feels like a violation of EIAS. - login: "apnadkarni"
- mimetype: "text/x-markdown"