Skip to content
Tcl Source Code Artifact [1ce29f103d]
Login

Artifact [1ce29f103d]

Artifact 1ce29f103d93c2db8099f992af334aa60e2cfcc7b866f08284ca51a9873e2028:

Ticket change [1ce29f103d] - Ticket [8d1fc70995703e67|8d1fc70995] <i>lseq &quot;count&quot; error persists across calls</i> status still Open with 3 other changes by apnadkarni on 2026-01-14 17:38:46.
D 2026-01-14T17:38:46.394
J icomment I\sthink\sthe\soptimization\sin\sfunction\s`SequenceIdentifyArgument`\sis\sbroken\r\n\r\n```\r\n\tif\s(TclHasInternalRep(argPtr,\s&tclExprCodeType))\s{\r\n\t\s\s\sgoto\sdoExpr;\r\n\t}\r\n```\r\n\r\nBasing\sa\sdecision\son\sthe\s*current*\sinternal\srepresentation\stype\sfeels\slike\sit\sviolates\sEIAS.\sHere\sfor\sexample,\s"count"\sis\san\sinvalid\sexpression\sbut\sstill\shas\sbytecode\srepresenting\sit\sgenerated\s(which\swill\sraise\san\serror).\s"count"\spassed\sas\sthe\sthird\sargument\sthough\sis\snot\sto\sbe\streated\sas\san\sinteger\sbut\sa\skeyword.\sThe\sabove\sfragment\smeans\sthat\streatment\sof\s"count"\sdepends\son\swhat\sthe\slast\stype\sit\swas\sshimmered\sto\swhich\sfeels\slike\sa\sviolation\sof\sEIAS.
J login apnadkarni
J mimetype text/x-markdown
K 8d1fc70995703e6727591d7179833a4a1970d6a5
U apnadkarni
Z f0a1a53a96fb241d632af3b6c9be7c73