made tsequtils green again

This commit is contained in:
Araq 2012-05-28 01:17:17 +02:00
commit f3980eb24a
5 changed files with 45 additions and 8 deletions

24
tests/run/tdumptree.nim Normal file
View file

@ -0,0 +1,24 @@
discard """
output: '''StmtList
VarSection
IdentDefs
Ident !"x"
nil
Call
DotExpr
Ident !"foo"
Ident !"create"
IntLit 56'''
"""
import macros
#emit("type\n TFoo = object\n bar: int")
#var f: TFoo
#f.bar = 5
#echo(f.bar)
dumpTree:
var x = foo.create(56)