diff options
author | Araq <rumpf_a@web.de> | 2015-02-25 21:36:43 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-02-25 21:36:43 +0100 |
commit | fce2ff161ea55bb73c076ab20d90730399a4059e (patch) | |
tree | 213708fe7802245c01193d080873d41e358a5f2c /compiler/semtypinst.nim | |
parent | 975f33b01d65b68ac1fea5de23998864ca2b2b8f (diff) | |
download | Nim-fce2ff161ea55bb73c076ab20d90730399a4059e.tar.gz |
tsigtypeop.nim works again
Diffstat (limited to 'compiler/semtypinst.nim')
-rw-r--r-- | compiler/semtypinst.nim | 1 |
1 files changed, 1 insertions, 0 deletions
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: |