rename sfAlwaysReturn to sfNeverRaises
This commit is contained in:
parent
5ba5b5202a
commit
d375120c42
4 changed files with 5 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue