<i>Bytecode machinery to handle compile epoch bumps is not right.</i> status still Open with 3 other changes
by
.
D 2017-06-06T17:24:36.376
J icomment I\sthink\sit\smay\sbe\sa\sfalse\sreasoning...\r\n\r\nIn\sthis\scase\smore\sinteresting\sthe\squestion\s"When\sexactly\sthe\scommand\sresolving\r\nshould\stake\splace\s-\sbefore\sor\safter\sthe\sarguments\swill\sbe\ssubstituted?".\r\n\r\nSo\sin\smy\sopinion,\sit\sworks\sas\sexpected...<br/>\r\nBecause\sI\sguess\sthe\ssubstitution\sof\sargv[0]\s(command)\sshould\sbe\smade\sexactly\s\r\nthe\ssame\smanner\sas\ssubstitution\sof\sfollowing\sarguments\s(argv[1]...argv[N]).\r\n\r\nTrying\sto\sexecute\sit\stwice:\r\n<code><pre>\r\n%\sproc\sdemo\sa\s{upvar\s1\s$a[proc\supvar\sargs\s{puts\sWOW}]\sb}\r\n%\sdemo\sa\r\n%\sdemo\sa\r\nWOW\r\n%\r\n</pre></code>\r\n\r\nSo\scorresponding\sto\smy\squestion\sabove,\seither\sthe\sexecution\sis\scorrect\sat\sall,\r\nbecause\swe\stargeted\shere\snot\syet\schanged\s"upvar",\sthat\swill\sbe\smodified\safter\r\n1st\sexecution\sonly.\r\n\r\nOr\sit\sis\swrong,\sif\sresolving\sshould\stake\splace\simplicit\safter\ssubstitution\sof\r\nthe\scommand\sarguments\s(I'm\sdefinitively\sagainst).\r\n\r\nIn\smy\sopinion\sthis\sdoes\snot\sdiffer\sfrom\sthe\sfollowing\slogic\s(why\sit\sshould\sbe\r\ndifferent\sby\sthe\scommand\sresolving?):\r\n<code><pre>\r\n%\sset\sx\s1\r\n1\r\n%\sconcat\s$x\s[incr\sx]\r\n1\s2\r\n%\sconcat\s$x\s[incr\sx]\r\n2\s3\r\n</pre></code>
J login sebres
J mimetype text/x-fossil-wiki
K 9a2bc209faf87b2f156d1971447f59e294184f9e
U sebres
Z 77cb4215ccda66ec3451f3ef7750867b