make tests green again
This commit is contained in:
parent
5526252fa0
commit
02b78d3f94
20 changed files with 33 additions and 33 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue