<i>Error: "can't convert value to type substcode"</i> status still Open with 3 other changes
by
.
D 2023-08-10T01:59:23.269
J icomment The\sproblem\sis\sin\sSetDuplicatePureObj.\s\s\r\nA\ssource\sObj\swith\san\sempty\svalue\sis\spassed\sin,\s\r\nbut\sit\sappears\sit\sis\sa\sreused\sObj\sthat\sstill\shas\sit's\stypePtr\sset.\s\r\nIn\sthis\scase,\sit\sis\sa\stype\sthat\sdoes\snot\shave\sa\sSetFromAny\smethod,\s\r\nconsequently\scausing\sthe\sConvert\soperation\sto\sfail.\s\r\nBut,\ssince\sthe\svalue\sis\sthe\sEmpty\sstring,\sa\sconversion\sisn't\snecessary.\r\n\r\nThe\sbug\sbranch\s[bug-bc7ddc7944]\shas\sa\sproposed\sfix.\r\n\r\nI\swas\snot\sable\sto\strack\sdown\sthe\scause\sof\sthe\stypePtr\shaving\s\r\na\svalue\sfor\sa\s"new",\s"empty"\s(pure?)\sObj.\s\s\r\nThis\spart\sseems\ssketchy.
J login griffin
J mimetype text/x-fossil-plain
K bc7ddc7944ec60be761ad6ee54d31110926f85a8
U griffin
Z cea76477130b9ed49e080bdc711b00ae