summary refs log tree commit diff stats
path: root/tests/vm/tanonproc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/tanonproc.nim')
-rw-r--r--tests/vm/tanonproc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/tanonproc.nim b/tests/vm/tanonproc.nim
index a89b53e83..1176c104e 100644
--- a/tests/vm/tanonproc.nim
+++ b/tests/vm/tanonproc.nim
@@ -42,7 +42,7 @@ proc getOrElse[T](o: Option[T], def: T): T =
 proc quoteStr(s: string): Option[string] =
   s.some.notEmpty.map(v => "`" & v & "`")
 
-macro str(s: string): typed =
+macro str(s: string): void =
   let x = s.strVal
   let y = quoteStr(x)
   let sn = newStrLitNode(y.getOrElse("NONE"))