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

View file

@ -382,8 +382,9 @@ proc fixAbstractType(c: PContext, n: PNode) =
# an implicitely constructed array (passed to an open array): # an implicitely constructed array (passed to an open array):
n.sons[i] = semArrayConstr(c, it) n.sons[i] = semArrayConstr(c, it)
else: else:
if (it.typ == nil): nil
InternalError(it.info, "fixAbstractType: " & renderTree(it)) #if (it.typ == nil):
# InternalError(it.info, "fixAbstractType: " & renderTree(it))
proc skipObjConv(n: PNode): PNode = proc skipObjConv(n: PNode): PNode =
case n.kind case n.kind