<i>Regression when mixing eval + clock + error within condition block</i> status still Open with 3 other changes
by
.
D 2024-05-13T12:33:36.890
J icomment The\sreason\sfor\sorigin\sissue\sis\snot\sdirectly\scompile\sensemble,\sbut\san\sincrement\sof\scompile-epoch\sand\sfollowing\s[switch\sto\sdirect\seval](./file?ci=core-8-branch&name=generic/tclExecute.c&ln=8043-8069).\r\nSo\safter\sthis,\stcl\sstarts\sto\sevaluate\s`if\s1\s{\s...`\sfrom\sscratch\swithout\sto\sconsider\sthat\sthis\sis\sa\scontinuation\sof\sscript\s(line\s3)\sfor\swhatever\sreason.\r\n\r\nHere\sis\sa\stest\scase\sillustrating\sthe\ssame\sbehaviour:\r\n```\r\nset\sc\s[subst\s-nocommands\s-novariables\s{puts\s===[incr\s::cntr]===;\sif\s{$::cntr\s==\s1}\s{puts\s**BUMP**;\stestbumpinterpepoch};\\n\\nif\s1\s{\\nputs\s\\[info\sframe\s0\\]\\n}}];\sputs\s$c;\stime\s$c\s2\r\n```\r\nThe\sresult:\r\n```\r\n===1===\r\n**BUMP**\r\ntype\seval\sline\s2\scmd\s{info\sframe\s0}\slevel\s0\r\n===2===\r\ntype\seval\sline\s4\scmd\s{info\sframe\s0}\slevel\s0\r\n```\r\nHow\sone\scan\ssee\sepoch\sbump\scauses\sa\sreset\sof\sthe\sline-number.\r\n\r\nAnd\s8.6\sis\saffected\sin\sthe\ssame\sway.
J login sebres
J mimetype text/x-markdown
K 9889f96f4da77e3b80dfa7ec6aa99b65c17974d1
U sebres
Z 976803f6e93f92472480278c2e794a3e