mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
fixes #103
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user