summary refs log tree commit diff stats
path: root/tests/compile
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2012-03-20 14:44:23 +0200
committerZahary Karadjov <zahary@gmail.com>2012-03-20 14:44:23 +0200
commita72fe16f9d800214e84fa496174dc255598b5a22 (patch)
tree027d1a5c5ebacabbdf081ca1ed7a2993e971ef01 /tests/compile
parent7b41b0f84113d3b9901d5c598dd909a1df6f960f (diff)
downloadNim-a72fe16f9d800214e84fa496174dc255598b5a22.tar.gz
making tests green again
Diffstat (limited to 'tests/compile')
-rwxr-xr-xtests/compile/tdumpast.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compile/tdumpast.nim b/tests/compile/tdumpast.nim
index d044e1da1..20a041c5b 100755
--- a/tests/compile/tdumpast.nim
+++ b/tests/compile/tdumpast.nim
@@ -6,7 +6,7 @@ template plus(a, b: expr): expr =
   a + b
 
 macro call(e: expr): expr =
-  return newCall("foo", newStrLitNode("bar"))
+  result = newCall("foo", newStrLitNode("bar"))
   
 macro dumpAST(n: stmt): stmt =
   # dump AST as a side-effect and return the inner node