diff options
author | Clay Sweetser <clay.sweetser@gmail.com> | 2014-02-15 18:57:03 -0500 |
---|---|---|
committer | Clay Sweetser <clay.sweetser@gmail.com> | 2014-02-15 18:57:03 -0500 |
commit | ce5a494927abf66cc39cf849b9c66e2dadbe579e (patch) | |
tree | a09a0e48025c79fee103b16f19140f533b7c6847 /tests/patterns/targlist.nim | |
parent | f701ee086aacf3ad9d4f58c20d5924fc0c5b3bb2 (diff) | |
download | Nim-ce5a494927abf66cc39cf849b9c66e2dadbe579e.tar.gz |
Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks.
Diffstat (limited to 'tests/patterns/targlist.nim')
-rw-r--r-- | tests/patterns/targlist.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/patterns/targlist.nim b/tests/patterns/targlist.nim index a2fa1fa48..e416edf0a 100644 --- a/tests/patterns/targlist.nim +++ b/tests/patterns/targlist.nim @@ -2,7 +2,7 @@ discard """ output: "12false3ha" """ -proc f(x: varargs[string, `$`]) = nil +proc f(x: varargs[string, `$`]) = discard template optF{f(X)}(x: varargs[expr]) = writeln(stdout, x) |