diff options
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 b638449d2..61c31a4fe 100644 --- a/compiler/semtypinst.nim +++ b/compiler/semtypinst.nim @@ -211,6 +211,7 @@ proc ReplaceTypeVarsT*(cl: var TReplTypeVars, t: PType): PType = result = ReplaceTypeVarsT(cl, lastSon(t)) of tyInt: result = skipIntLit(t) + # XXX now there are also float literals else: if t.kind == tyArray: let idxt = t.sons[0] |