summary refs log tree commit diff stats
path: root/compiler/modulegraphs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-03-16 18:49:27 +0100
committerAraq <rumpf_a@web.de>2020-03-16 19:05:33 +0100
commitd375120c424fa94cc58228c2f0285c1b0b32919b (patch)
treed907880ad22dc85b8909031e7f55970c185f3f4b /compiler/modulegraphs.nim
parent5ba5b5202acdf5e597ef1e83ebae84608669d32b (diff)
downloadNim-d375120c424fa94cc58228c2f0285c1b0b32919b.tar.gz
rename sfAlwaysReturn to sfNeverRaises
Diffstat (limited to 'compiler/modulegraphs.nim')
-rw-r--r--compiler/modulegraphs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim
index d3be4b3b6..dff3f3b58 100644
--- a/compiler/modulegraphs.nim
+++ b/compiler/modulegraphs.nim
@@ -165,7 +165,7 @@ proc stopCompile*(g: ModuleGraph): bool {.inline.} =
 proc createMagic*(g: ModuleGraph; name: string, m: TMagic): PSym =
   result = newSym(skProc, getIdent(g.cache, name), nil, unknownLineInfo, {})
   result.magic = m
-  result.flags = {sfAlwaysReturn}
+  result.flags = {sfNeverRaises}
 
 proc newModuleGraph*(cache: IdentCache; config: ConfigRef): ModuleGraph =
   result = ModuleGraph()