summary refs log tree commit diff stats
path: root/tests/macros/tmacro4.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tmacro4.nim')
-rw-r--r--tests/macros/tmacro4.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/macros/tmacro4.nim b/tests/macros/tmacro4.nim
index 10a23b159..a56369369 100644
--- a/tests/macros/tmacro4.nim
+++ b/tests/macros/tmacro4.nim
@@ -7,7 +7,7 @@ import
 
 macro test_macro*(n: stmt): stmt {.immediate.} =
   result = newNimNode(nnkStmtList)
-  var ass : PNimrodNode = newNimNode(nnkAsgn)
+  var ass : NimNode = newNimNode(nnkAsgn)
   add(ass, newIdentNode("str"))
   add(ass, newStrLitNode("after"))
   add(result, ass)