diff options
author | Araq <rumpf_a@web.de> | 2012-05-11 00:22:04 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-05-11 00:22:04 +0200 |
commit | e6019b6f98e3e16205f0b9775437352da9324bc6 (patch) | |
tree | b48fddb54be2be5d437c4f8d91c38683a991f43d /compiler | |
parent | 85ac5f94f1c5b63692d46c33afeaddd5fcc88614 (diff) | |
download | Nim-e6019b6f98e3e16205f0b9775437352da9324bc6.tar.gz |
fixes #103
Diffstat (limited to 'compiler')
-rwxr-xr-x | compiler/semexprs.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 967d60531..fe35607cb 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 |