Skip to content
Tcl Source Code Artifact [a1af59ef51]
Login

Artifact [a1af59ef51]

Artifact a1af59ef51805b7d5f265754ea9a265ff79bed9eef08ef35c27e208af883f017:

Ticket change [a1af59ef51] - Ticket [67d5f75c36cbada6|67d5f75c36] <i>[$interp eval $lambda] after [eval $lambda] or vice versa fails</i> status still Open with 3 other changes by apnadkarni on 2024-09-30 17:49:32.
D 2024-09-30T17:49:32.752
J icomment Breakage\sappears\sto\sbe\sfrom\s[here](https://core.tcl-lang.org/tcl/file?ci=tip&name=generic/tclProc.c&ln=2643-2644).\sThe\ssample\scode\sis\sactually\sgenerating\san\serror\swith\san\sempty\serror\smessage.\r\n\r\nBasically\sthe\slambda\sinternal\srep\sremembers\sthe\sinterpreter\sthat\scompiled\sit.\sIn\s8.6,\sif\sthe\sinternal\srep\swas\scompiled\sin\sa\sdifferent\sinterpreter\sthan\sthe\scurrent\sone,\sit\swould\sbe\srecompiled\sand\slife\swould\sgo\son.\sThat\swas\schanged\s(not\ssure\sinadvertently\sor\snot)\sto\sreturn\sa\sNULL\sindicating\san\serror\sinstead\s(without\ssetting\sthe\sinterp\sresult\sto\san\serror\smessage\swhich\sis\sanother\sbuglet).\r\n\r\nThe\schange\shappened\sin\sthis\s[TIP\s445](https://core.tcl-lang.org/tcl/info/bfd27f785778b32b)\smerge.\sThe\sprior\s[commit](https://core.tcl-lang.org/tcl/info/5f51fd5a97866eb0)\sworks\sas\sin\s8.6.\r\n\r\nOne\sfix\swould\sbe\sto\srevert\sto\s8.6\sbehavior\sand\srecompile\son\sa\schange\sin\sinterps.\sI'm\snot\ssure\sthough\swhether\sthe\soriginal\schange\swas\sintentional\sor\snot,\sfor\sexample\sto\sprevent\sconstant\srecompilation\son\sa\slambda\sTclObj\sshared\sbetween\sinterpreters?\sPerhaps\sthe\sintent\swas\ssuch\sthat\slambda\sTclObjs\sshould\sbe\sduplicated\sinstead?
J login apnadkarni
J mimetype text/x-markdown
K 67d5f75c36cbada6cf2361aaf49cffa61281143b
U apnadkarni
Z 569d7984a82b63967ad670f869591bf9