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)
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
file: "tsequtils.nim"
|
||||
output: '''Zip: [{"a": 1, "b": 2}, {"a": 3, "b": 4}, {"a": 5, "b": 6}]
|
||||
output: '''Zip: [{"Field0": 1, "Field1": 2}, {"Field0": 3, "Field1": 4}, {"Field0": 5, "Field1": 6}]
|
||||
Filter Iterator: 3
|
||||
Filter Iterator: 5
|
||||
Filter Iterator: 7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue