Overview
| Artifact ID: | b7be6ef87ffce78689b21b001e511c00abb9f96d97074bb00020bf826f8d482c |
|---|---|
| Ticket: | bc7ddc7944ec60be761ad6ee54d31110926f85a8
Error: "can't convert value to type substcode" |
| User & Date: | griffin on 2023-08-10 01:59:23 |
Changes
- icomment:
The problem is in SetDuplicatePureObj. A source Obj with an empty value is passed in, but it appears it is a reused Obj that still has it's typePtr set. In this case, it is a type that does not have a SetFromAny method, consequently causing the Convert operation to fail. But, since the value is the Empty string, a conversion isn't necessary. The bug branch [bug-bc7ddc7944] has a proposed fix. I was not able to track down the cause of the typePtr having a value for a "new", "empty" (pure?) Obj. This part seems sketchy.
- login: "griffin"
- mimetype: "text/x-fossil-plain"