fixes #13646
This commit is contained in:
parent
3a6b470412
commit
a102eb5ef6
3 changed files with 34 additions and 6 deletions
|
|
@ -618,6 +618,9 @@ proc replaceTypeVarsTAux(cl: var TReplTypeVars, t: PType): PType =
|
|||
eraseVoidParams(result)
|
||||
skipIntLiteralParams(result)
|
||||
|
||||
of tyRange:
|
||||
result[0] = result[0].skipTypes({tyStatic, tyDistinct})
|
||||
|
||||
else: discard
|
||||
else:
|
||||
# If this type doesn't refer to a generic type we may still want to run it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue