summary refs log tree commit diff stats
path: root/tests/macros/ttryparseexpr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/ttryparseexpr.nim')
-rw-r--r--tests/macros/ttryparseexpr.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/macros/ttryparseexpr.nim b/tests/macros/ttryparseexpr.nim
index c7bbc8e5b..54442b662 100644
--- a/tests/macros/ttryparseexpr.nim
+++ b/tests/macros/ttryparseexpr.nim
@@ -5,7 +5,7 @@ discard """
 # feature request #1473
 import macros
 
-macro test(text: string): expr =
+macro test(text: string): untyped =
   try:
     result = parseExpr(text.strVal)
   except ValueError: