tsigtypeop.nim works again

This commit is contained in:
Araq 2015-02-25 21:36:43 +01:00
commit fce2ff161e
3 changed files with 3 additions and 3 deletions

View file

@ -369,6 +369,7 @@ proc replaceTypeVarsTAux(cl: var TReplTypeVars, t: PType): PType =
of tyFromExpr:
if cl.allowMetaTypes: return
assert t.n.typ != t
var n = prepareNode(cl, t.n)
n = cl.c.semConstExpr(cl.c, n)
if n.typ.kind == tyTypeDesc: