diff options
author | Zahary Karadjov <zahary@gmail.com> | 2012-03-20 14:44:23 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2012-03-20 14:44:23 +0200 |
commit | a72fe16f9d800214e84fa496174dc255598b5a22 (patch) | |
tree | 027d1a5c5ebacabbdf081ca1ed7a2993e971ef01 /tests/compile | |
parent | 7b41b0f84113d3b9901d5c598dd909a1df6f960f (diff) | |
download | Nim-a72fe16f9d800214e84fa496174dc255598b5a22.tar.gz |
making tests green again
Diffstat (limited to 'tests/compile')
-rwxr-xr-x | tests/compile/tdumpast.nim | 2 |
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 |