fixes #21
This commit is contained in:
parent
5b789f2da8
commit
62eb5b124e
3 changed files with 9 additions and 9 deletions
|
|
@ -877,7 +877,7 @@ proc newSons(father: PType, length: int) =
|
|||
proc addSon(father, son: PType) =
|
||||
if isNil(father.sons): father.sons = @[]
|
||||
add(father.sons, son)
|
||||
assert((father.kind != tyGenericInvokation) or (son.kind != tyGenericInst))
|
||||
#assert((father.kind != tyGenericInvokation) or (son.kind != tyGenericInst))
|
||||
|
||||
proc sonsLen(n: PNode): int =
|
||||
if isNil(n.sons): result = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue