fixes #4677
This commit is contained in:
parent
46948a9509
commit
1528d7c6e8
1 changed files with 2 additions and 1 deletions
|
|
@ -463,7 +463,8 @@ proc replaceTypeVarsTAux(cl: var TReplTypeVars, t: PType): PType =
|
|||
result.sons[i] = r
|
||||
propagateToOwner(result, r)
|
||||
|
||||
result.n = replaceTypeVarsN(cl, result.n)
|
||||
if result.kind != tyProc:
|
||||
result.n = replaceTypeVarsN(cl, result.n)
|
||||
|
||||
case result.kind
|
||||
of tyArray:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue