Overview
| Artifact ID: | 3ca0ef2184d40bc9aeeaf793b407fb2bc4d076f794d6ffee109ab7878541ef64 |
|---|---|
| Ticket: | bc7ddc7944ec60be761ad6ee54d31110926f85a8
Error: "can't convert value to type substcode" |
| User & Date: | apnadkarni on 2023-08-11 01:36:32 |
Changes
- icomment:
For the record, my more detailed take on the matter. the following bugs were triggered by TclDuplicatePureObj : [bc7ddc7944] (this), [8c52e78738], [a34733451b], [c405bdd1f0]. This does not necessarily mean TclDuplicatePureObj itself was buggy but possibly it was used where its apparent semantic difference from Tcl_DuplicateObj made it unsuitable for use in those instances. Even more concerning is that the semantics of the function are different between 8.7 and 9.0 in subtle but important ways (use AttemptInitStringRep vs InitStringRep, the different typePtr used for conversion). This is confusing and just asking for trouble. Until this is sorted out, I'm in favour of reverting even if the original idea has merit. /Ashok
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"