mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 18:32:11 +00:00
fixes #4677
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user