typst-0.9: test/typ/compiler/let-16.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, SoftBreak
, Code
"typ/compiler/let-16.typ"
( line 3 , column 2 )
(Let
(DestructuringBind
[ WithKey (Identifier "a") (BasicBind (Just (Identifier "a")))
, Simple (BasicBind (Just (Identifier "b")))
, WithKey (Identifier "x") (BasicBind (Just (Identifier "c")))
])
(Dict
[ Reg ( Ident (Identifier "a") , Literal (Int 1) )
, Reg ( Ident (Identifier "b") , Literal (Int 2) )
, Reg ( Ident (Identifier "x") , Literal (Int 3) )
]))
, SoftBreak
, Code
"typ/compiler/let-16.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "a"))
, NormalArg (Literal (Int 1))
])
, SoftBreak
, Code
"typ/compiler/let-16.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "b"))
, NormalArg (Literal (Int 2))
])
, SoftBreak
, Code
"typ/compiler/let-16.typ"
( line 6 , 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: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })