This commit is contained in:
Andreas Rumpf
2016-09-01 22:05:05 +02:00
parent 46948a9509
commit 1528d7c6e8

View File

@@ -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: