diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ccgtrav.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ccgtrav.nim b/compiler/ccgtrav.nim index 5f59702e5..0da6396ea 100644 --- a/compiler/ccgtrav.nim +++ b/compiler/ccgtrav.nim @@ -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: |