summary refs log tree commit diff stats
path: root/tests/macros/tgensym.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tgensym.nim')
-rw-r--r--tests/macros/tgensym.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/macros/tgensym.nim b/tests/macros/tgensym.nim
index a4d1a3606..955168939 100644
--- a/tests/macros/tgensym.nim
+++ b/tests/macros/tgensym.nim
@@ -11,7 +11,7 @@ proc convertReturns(node, retFutureSym: NimNode): NimNode {.compileTime.} =
     for i in 0 .. <node.len:
       result[i] = convertReturns(node[i], retFutureSym)
 
-macro async2(prc: stmt): stmt {.immediate.} =
+macro async2(prc: untyped): untyped =
   expectKind(prc, nnkProcDef)
 
   var outerProcBody = newNimNode(nnkStmtList)