This commit is contained in:
Araq 2011-03-24 00:58:28 +01:00
commit 62eb5b124e
3 changed files with 9 additions and 9 deletions

View file

@ -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