diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-09-02 14:35:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 14:35:25 +0200 |
commit | 69cabaa81cf69593a8a42554fe70cce53ec8663d (patch) | |
tree | e5b96c1b51e5495f98daa7d4fb6f629c1b485a14 /tests/stdlib/tsequtils.nim | |
parent | 7c8ea490a2be36d171d362c43212195ea8ce489f (diff) | |
download | Nim-69cabaa81cf69593a8a42554fe70cce53ec8663d.tar.gz |
sequtils now support strict effect tracking (#18782)
Diffstat (limited to 'tests/stdlib/tsequtils.nim')
-rw-r--r-- | tests/stdlib/tsequtils.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/stdlib/tsequtils.nim b/tests/stdlib/tsequtils.nim index 6c9c92873..338473407 100644 --- a/tests/stdlib/tsequtils.nim +++ b/tests/stdlib/tsequtils.nim @@ -8,6 +8,9 @@ import std/sequtils import strutils from algorithm import sorted +{.experimental: "strictEffects".} +{.push warningAsError[Effect]: on.} + # helper for testing double substitution side effects which are handled # by `evalOnceAs` var counter = 0 @@ -507,3 +510,5 @@ template main = static: main() main() + +{.pop.} |