made tsequtils green again
This commit is contained in:
parent
22188a0647
commit
f3980eb24a
5 changed files with 45 additions and 8 deletions
24
tests/run/tdumptree.nim
Normal file
24
tests/run/tdumptree.nim
Normal 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)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue