fixes #2169
This commit is contained in:
parent
549920a85f
commit
2ebeb0bd21
5 changed files with 131 additions and 5 deletions
|
|
@ -390,9 +390,8 @@ proc replaceTypeVarsTAux(cl: var TReplTypeVars, t: PType): PType =
|
|||
else:
|
||||
result = n.typ
|
||||
|
||||
of tyInt:
|
||||
of tyInt, tyFloat:
|
||||
result = skipIntLit(t)
|
||||
# XXX now there are also float literals
|
||||
|
||||
of tyTypeDesc:
|
||||
let lookup = PType(idTableGet(cl.typeMap, t)) # lookupTypeVar(cl, t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue