From d143924ab2e3914cb3ce0fedac5c5779832df3d8 Mon Sep 17 00:00:00 2001 From: metagn Date: Wed, 24 Aug 2022 22:38:37 +0300 Subject: remove unused sfProcvar, "procvar" mentions (#20204) refs #12975. doesn't close it because wProcvar isn't removed --- compiler/pragmas.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/pragmas.nim') diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim index b662e09c5..06e861084 100644 --- a/compiler/pragmas.nim +++ b/compiler/pragmas.nim @@ -993,8 +993,8 @@ proc singlePragma(c: PContext, sym: PSym, n: PNode, i: var int, of wNonReloadable: sym.flags.incl sfNonReloadable of wProcVar: + # old procvar annotation, no longer needed noVal(c, it) - incl(sym.flags, sfProcvar) of wExplain: sym.flags.incl sfExplain of wDeprecated: @@ -1043,7 +1043,6 @@ proc singlePragma(c: PContext, sym: PSym, n: PNode, i: var int, of wThread: noVal(c, it) incl(sym.flags, sfThread) - incl(sym.flags, sfProcvar) if sym.typ != nil: incl(sym.typ.flags, tfThread) if sym.typ.callConv == ccClosure: sym.typ.callConv = ccNimCall -- cgit 1.4.1-2-gfad0