<i>Regression with TIP #636 in foreach</i> status still Open with 3 other changes
by
.
D 2023-07-11T13:47:44.467
J icomment The\sproblem\sis\swith\sTclDuplicatePureObj().\s\sThis\sfunction\sforces\sa\stype\supon\sa\svalue\swhich\ssometimes\scauses\sa\sshimmer.\s\sThis\sis\sbad\sfor\sabstract\slists\swhen\scalled\sprematurely,\si.e.\sbefore\sthe\svalue\sis\sactually\sconsumed.\sI\shad\smodified\sthe\sfunction\sto\sprefer\ssrc\sObj\stype\sover\sthe\srequested\stype,\sexcept\swhen\sthe\ssrc\swas\sjust\sa\sstring.\sAny\sshimmer\swould\salready\soccur\slater\sat\sthe\spoint\sof\sconsumption.\r\n\r\nThe\spoint\sof\sfailure\sin\sthis\sticket\sis\sspecifically\srelying\son\sDup\sfor\stype\sconversion.\s(A\shidden\saspect\sof\sDup)\r\nThe\sspecific\svalue\sin\sthis\scase\sis\sa\svariable\sname\spreviously\sused,\sand\sstill\sexits,\sas\san\s"index"\stype.\sThis\sinterfered\swith\sthe\svariable\slookup\sbecause\sthe\sstring\swas\sstripped\sfrom\sthe\sobj.\sIt\salso\sexplains\swhy\sthe\stest\spasses\swhen\srun\salone,\sthe\svariable\swas\snot\sused\sprior\sto\sthe\stest,\sso\sdid\snot\sexist.
J login griffin
J mimetype text/x-markdown
K a34733451b2cf189528061944466cf7ce7015008
U griffin
Z da7232d8bb80619a785af997ae298ce7