diff options
Diffstat (limited to 'lib/system/gc.nim')
-rwxr-xr-x | lib/system/gc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/gc.nim b/lib/system/gc.nim index d1fa98514..9e0e88612 100755 --- a/lib/system/gc.nim +++ b/lib/system/gc.nim @@ -301,7 +301,7 @@ proc forAllChildrenAux(dest: Pointer, mt: PNimType, op: TWalkOp) = case mt.Kind of tyRef, tyString, tySequence: # leaf: doOperation(cast[ppointer](d)[], op) - of tyObject, tyTuple, tyPureObject: + of tyObject, tyTuple: forAllSlotsAux(dest, mt.node, op) of tyArray, tyArrayConstr, tyOpenArray: for i in 0..(mt.size div mt.base.size)-1: |