This commit is contained in:
Araq
2012-05-11 00:22:04 +02:00
parent 85ac5f94f1
commit e6019b6f98

View File

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