made some tests green

This commit is contained in:
Araq 2013-05-19 17:06:11 +02:00
commit 7b36d3d6ff
6 changed files with 8 additions and 6 deletions

View file

@ -792,7 +792,7 @@ proc semGeneric(c: PContext, n: PNode, s: PSym, prev: PType): PType =
result = instGenericContainer(c, n, result)
proc semTypeExpr(c: PContext, n: PNode): PType =
var n = semExprWithType(c, n)
var n = semExprWithType(c, n, {efDetermineType})
if n.kind == nkSym and n.sym.kind == skType:
result = n.sym.typ
else: