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