This commit is contained in:
Araq
2015-07-02 23:04:46 +02:00
parent 65c1b0c128
commit c314f8e65e

View File

@@ -1085,6 +1085,7 @@ proc semTypeExpr(c: PContext, n: PNode): PType =
result = n.typ.base
else:
localError(n.info, errTypeExpected, n.renderTree)
result = errorType(c)
proc freshType(res, prev: PType): PType {.inline.} =
if prev.isNil: