This commit is contained in:
Andreas Rumpf 2016-01-30 15:45:45 +01:00
commit eea2a63607
2 changed files with 14 additions and 0 deletions

View file

@ -57,6 +57,8 @@ proc parentObj(accessor: Rope; m: BModule): Rope {.inline.} =
proc genTraverseProc(c: var TTraversalClosure, accessor: Rope, typ: PType) =
if typ == nil: return
let typ = getUniqueType(typ)
var p = c.p
case typ.kind
of tyGenericInst, tyGenericBody, tyTypeDesc: