fixes #3055
This commit is contained in:
parent
1d186ee9c3
commit
089c31765f
2 changed files with 29 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ proc instantiateProcType(c: PContext, pt: TIdTable,
|
|||
# The solution would be to move this logic into semtypinst, but
|
||||
# at this point semtypinst have to become part of sem, because it
|
||||
# will need to use openScope, addDecl, etc.
|
||||
addDecl(c, prc)
|
||||
#addDecl(c, prc)
|
||||
|
||||
pushInfoContext(info)
|
||||
var cl = initTypeVars(c, pt, info, nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue