better tester

This commit is contained in:
Araq 2014-01-17 08:47:51 +01:00
commit 383fbca27e
21 changed files with 39 additions and 31 deletions

View file

@ -1,8 +0,0 @@
import macros
macro foo(x: stmt): stmt =
echo treerepr(callsite())
result = newNimNode(nnkStmtList)
proc zoo() {.foo.} = echo "hi"