typst-0.9: test/typ/compiler/let-06.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, SoftBreak
, Code
"typ/compiler/let-06.typ"
( line 3 , column 2 )
(Let
(DestructuringBind
[ Simple (BasicBind (Just (Identifier "a")))
, Simple (BasicBind (Just (Identifier "b")))
, Sink (Just (Identifier "c"))
])
(Array
[ Reg (Literal (Int 1))
, Reg (Literal (Int 2))
, Reg (Literal (Int 3))
, Reg (Literal (Int 4))
, Reg (Literal (Int 5))
, Reg (Literal (Int 6))
]))
, SoftBreak
, Code
"typ/compiler/let-06.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "a"))
, NormalArg (Literal (Int 1))
])
, SoftBreak
, Code
"typ/compiler/let-06.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "b"))
, NormalArg (Literal (Int 2))
])
, SoftBreak
, Code
"typ/compiler/let-06.typ"
( line 6 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "c"))
, NormalArg
(Array
[ Reg (Literal (Int 3))
, Reg (Literal (Int 4))
, Reg (Literal (Int 5))
, Reg (Literal (Int 6))
])
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })