summary refs log tree commit diff stats
path: root/tests/template/template_various.nim
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-06-17 15:25:02 +0200
committerGitHub <noreply@github.com>2020-06-17 15:25:02 +0200
commite7f280bd26a54b4f187b087c8d35f43f0e6328c7 (patch)
tree59ceb2dc34d14e8b983722ef9092632737d3a033 /tests/template/template_various.nim
parent861953429362d72a76fe3768a25db3f8a1cf70ee (diff)
downloadNim-e7f280bd26a54b4f187b087c8d35f43f0e6328c7.tar.gz
Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester

* remove deprecated procs from some stdlib modules

* 'criterion' is not maintained anymore and relies on obsolete stuff
Diffstat (limited to 'tests/template/template_various.nim')
-rw-r--r--tests/template/template_various.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_various.nim b/tests/template/template_various.nim
index e8202a2e0..75226ea2d 100644
--- a/tests/template/template_various.nim
+++ b/tests/template/template_various.nim
@@ -107,7 +107,7 @@ block tgetast_typeliar:
           error("Assertion failed: " & $(`message`) & "\n" & `line`)
           return
 
-  macro assertOrReturn(condition: bool): typed =
+  macro assertOrReturn(condition: bool) =
     var message : NimNode = newLit(condition.repr)
     # echo message
     result = getAst assertOrReturn2(condition, message)