owned refs must be moved

This commit is contained in:
Andreas Rumpf 2019-03-07 12:48:59 +01:00
commit 5b1a2eecd5
4 changed files with 8 additions and 27 deletions

View file

@ -499,6 +499,9 @@ proc value(this: var DebugPrinter; value: PType): void =
this.key "kind"
this.value value.kind
this.key "id"
this.value value.id
if value.sym != nil:
this.key "sym"
this.value value.sym