From fce2ff161ea55bb73c076ab20d90730399a4059e Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 25 Feb 2015 21:36:43 +0100 Subject: tsigtypeop.nim works again --- compiler/semtypinst.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/semtypinst.nim') diff --git a/compiler/semtypinst.nim b/compiler/semtypinst.nim index 12fce1b84..452942ec0 100644 --- a/compiler/semtypinst.nim +++ b/compiler/semtypinst.nim @@ -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: -- cgit 1.4.1-2-gfad0