diff options
author | metagn <metagngn@gmail.com> | 2022-08-24 22:38:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 21:38:37 +0200 |
commit | d143924ab2e3914cb3ce0fedac5c5779832df3d8 (patch) | |
tree | 49e63ab2c306ba489ae696fedebe6f7b61d6c71a /compiler/pragmas.nim | |
parent | b6bfe38ff5283f77d5e5e78da06d2710bc16afb6 (diff) | |
download | Nim-d143924ab2e3914cb3ce0fedac5c5779832df3d8.tar.gz |
remove unused sfProcvar, "procvar" mentions (#20204)
refs #12975. doesn't close it because wProcvar isn't removed
Diffstat (limited to 'compiler/pragmas.nim')
-rw-r--r-- | compiler/pragmas.nim | 3 |
1 files changed, 1 insertions, 2 deletions
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 |