diff options
author | Araq <rumpf_a@web.de> | 2018-05-14 21:38:18 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-05-14 21:38:18 +0200 |
commit | 02b78d3f94225ab1b204191d0fb199125787f31d (patch) | |
tree | 03c3a5595edf56c8d219c92fec14358c1bf76d69 /compiler/sempass2.nim | |
parent | 5526252fa0218816c3ca5399a7cb927d9b2bbdc4 (diff) | |
download | Nim-02b78d3f94225ab1b204191d0fb199125787f31d.tar.gz |
make tests green again
Diffstat (limited to 'compiler/sempass2.nim')
-rw-r--r-- | compiler/sempass2.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sempass2.nim b/compiler/sempass2.nim index 543161524..b66d7d9f2 100644 --- a/compiler/sempass2.nim +++ b/compiler/sempass2.nim @@ -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: |