destructors for case values
This commit is contained in:
parent
985113ee2a
commit
65970efd97
3 changed files with 65 additions and 17 deletions
|
|
@ -885,6 +885,7 @@ proc assignType(dest, src: PType) =
|
|||
dest.size = src.size
|
||||
dest.align = src.align
|
||||
dest.containerID = src.containerID
|
||||
dest.destructor = src.destructor
|
||||
# this fixes 'type TLock = TSysLock':
|
||||
if src.sym != nil:
|
||||
if dest.sym != nil:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue