From e6019b6f98e3e16205f0b9775437352da9324bc6 Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 11 May 2012 00:22:04 +0200 Subject: [PATCH] fixes #103 --- compiler/semexprs.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 967d605318..fe35607cbf 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