summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-05-11 00:22:04 +0200
committerAraq <rumpf_a@web.de>2012-05-11 00:22:04 +0200
commite6019b6f98e3e16205f0b9775437352da9324bc6 (patch)
treeb48fddb54be2be5d437c4f8d91c38683a991f43d /compiler
parent85ac5f94f1c5b63692d46c33afeaddd5fcc88614 (diff)
downloadNim-e6019b6f98e3e16205f0b9775437352da9324bc6.tar.gz
fixes #103
Diffstat (limited to 'compiler')
-rwxr-xr-xcompiler/semexprs.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim
index 967d60531..fe35607cb 100755
--- a/compiler/semexprs.nim
+++ b/compiler/semexprs.nim
@@ -382,8 +382,9 @@ proc fixAbstractType(c: PContext, n: PNode) =
       # an implicitely constructed array (passed to an open array):
       n.sons[i] = semArrayConstr(c, it)
     else: 
-      if (it.typ == nil): 
-        InternalError(it.info, "fixAbstractType: " & renderTree(it))  
+      nil
+      #if (it.typ == nil): 
+      #  InternalError(it.info, "fixAbstractType: " & renderTree(it))  
   
 proc skipObjConv(n: PNode): PNode = 
   case n.kind