rename sfAlwaysReturn to sfNeverRaises

This commit is contained in:
Araq 2020-03-16 18:49:27 +01:00
commit d375120c42
4 changed files with 5 additions and 5 deletions

View file

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