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

View file

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