fixes #6489
This commit is contained in:
parent
95a5373d07
commit
8a601669ef
6 changed files with 20 additions and 6 deletions
|
|
@ -240,6 +240,8 @@ proc instantiateProcType(c: PContext, pt: TIdTable,
|
|||
resetIdTable(cl.localCache)
|
||||
result.sons[0] = replaceTypeVarsT(cl, result.sons[0])
|
||||
result.n.sons[0] = originalParams[0].copyTree
|
||||
if result.sons[0] != nil:
|
||||
propagateToOwner(result, result.sons[0])
|
||||
|
||||
eraseVoidParams(result)
|
||||
skipIntLiteralParams(result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue