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