fixes #103
This commit is contained in:
parent
85ac5f94f1
commit
e6019b6f98
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue