This commit is contained in:
Araq
2015-04-26 22:36:43 +02:00
parent 4550a2fb5c
commit 85bcc14f7f

View File

@@ -629,7 +629,7 @@ proc skipGenericInvocation(t: PType): PType {.inline.} =
result = t
if result.kind == tyGenericInvocation:
result = result.sons[0]
if result.kind == tyGenericBody:
while result.kind in {tyGenericInst, tyGenericBody}:
result = lastSon(result)
proc addInheritedFields(c: PContext, check: var IntSet, pos: var int,