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

View file

@ -463,7 +463,8 @@ proc replaceTypeVarsTAux(cl: var TReplTypeVars, t: PType): PType =
result.sons[i] = r result.sons[i] = r
propagateToOwner(result, r) propagateToOwner(result, r)
result.n = replaceTypeVarsN(cl, result.n) if result.kind != tyProc:
result.n = replaceTypeVarsN(cl, result.n)
case result.kind case result.kind
of tyArray: of tyArray: