summary refs log tree commit diff stats
path: root/tests/accept
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-24 11:50:46 +0200
committerAraq <rumpf_a@web.de>2011-09-24 11:50:46 +0200
commit92543a30372b742f186131e3f3265b5b965a9316 (patch)
tree84b9164e7b3a65bcf27bb3827ec1d3544cf3ecf0 /tests/accept
parent98e5beb936d8743b4d8e07fc47a0ab47e5f8a342 (diff)
downloadNim-92543a30372b742f186131e3f3265b5b965a9316.tar.gz
more fixes to get rid of tyPureObject
Diffstat (limited to 'tests/accept')
-rwxr-xr-xtests/accept/compile/tdumpast.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/accept/compile/tdumpast.nim b/tests/accept/compile/tdumpast.nim
index 8561c6e42..653cdfa33 100755
--- a/tests/accept/compile/tdumpast.nim
+++ b/tests/accept/compile/tdumpast.nim
@@ -10,17 +10,17 @@ macro call(e: expr): expr =
   
 macro dumpAST(n: stmt): stmt =
   # dump AST as a side-effect and return the inner node
-  echo n.prettyPrint
+  echo n.toLisp
   echo n.toYaml
 
   var plusAst = getAst(plus(1, 2))
-  echo plusAst.prettyPrint
+  echo plusAst.toLisp
 
   var callAst = getAst(call())
-  echo callAst.prettyPrint
+  echo callAst.toLisp
 
   var e = parseExpr("foo(bar + baz)")
-  echo e.prettyPrint
+  echo e.toLisp
 
   result = n[1]