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