diff options
author | Araq <rumpf_a@web.de> | 2011-03-24 00:58:28 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-03-24 00:58:28 +0100 |
commit | 62eb5b124e33966aaf6cc2d012d0c3d6bdd36d0c (patch) | |
tree | bf7b62899d8f84f495729ea2c7596f1d1bb2ac04 /rod/ast.nim | |
parent | 5b789f2da8e57ea2adf0c088f5e41fd7a71fe89b (diff) | |
download | Nim-62eb5b124e33966aaf6cc2d012d0c3d6bdd36d0c.tar.gz |
fixes #21
Diffstat (limited to 'rod/ast.nim')
-rwxr-xr-x | rod/ast.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/ast.nim b/rod/ast.nim index c7c0fa7d0..91eb37506 100755 --- a/rod/ast.nim +++ b/rod/ast.nim @@ -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 |