diff options
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r-- | compiler/semstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index 365109249..bbc83eca4 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1444,7 +1444,7 @@ proc semPragmaBlock(c: PContext, n: PNode): PNode = for i in 0 .. <pragmaList.len: case whichPragma(pragmaList.sons[i]) of wLine: setLine(result, pragmaList.sons[i].info) - of wLocks: + of wLocks, wGcSafe: result = n result.typ = n.sons[1].typ of wNoRewrite: |