summary refs log tree commit diff stats
path: root/rod/ast.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-03-24 00:58:28 +0100
committerAraq <rumpf_a@web.de>2011-03-24 00:58:28 +0100
commit62eb5b124e33966aaf6cc2d012d0c3d6bdd36d0c (patch)
treebf7b62899d8f84f495729ea2c7596f1d1bb2ac04 /rod/ast.nim
parent5b789f2da8e57ea2adf0c088f5e41fd7a71fe89b (diff)
downloadNim-62eb5b124e33966aaf6cc2d012d0c3d6bdd36d0c.tar.gz
fixes #21
Diffstat (limited to 'rod/ast.nim')
-rwxr-xr-xrod/ast.nim2
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