fixes #2607
This commit is contained in:
parent
4550a2fb5c
commit
85bcc14f7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue