make tests green again

This commit is contained in:
Araq 2018-05-14 21:38:18 +02:00
commit 02b78d3f94
20 changed files with 33 additions and 33 deletions

View file

@ -970,7 +970,7 @@ proc trackProc*(g: ModuleGraph; s: PSym, body: PNode) =
when false:
listGcUnsafety(s, onlyWarning=false, g.config)
else:
localError(g.config, s.info, "'$1' has side effects" % s.name.s)
localError(g.config, s.info, "'$1' can have side effects" % s.name.s)
if not t.gcUnsafe:
s.typ.flags.incl tfGcSafe
if not t.hasSideEffect and sfSideEffect notin s.flags: