This commit is contained in:
Andreas Rumpf 2016-07-08 20:11:59 +02:00
commit 089c31765f
2 changed files with 29 additions and 1 deletions

View file

@ -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)