gc:destructors: progress
This commit is contained in:
parent
9563be37d3
commit
728ff1004a
6 changed files with 85 additions and 2 deletions
|
|
@ -306,7 +306,9 @@ proc instantiateProcType(c: PContext, pt: TIdTable,
|
|||
|
||||
resetIdTable(cl.symMap)
|
||||
resetIdTable(cl.localCache)
|
||||
cl.isReturnType = true
|
||||
result.sons[0] = replaceTypeVarsT(cl, result.sons[0])
|
||||
cl.isReturnType = false
|
||||
result.n.sons[0] = originalParams[0].copyTree
|
||||
if result.sons[0] != nil:
|
||||
propagateToOwner(result, result.sons[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue