typst-0.9: test/typ/compiler/closure-05.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/closure-05.typ"
( line 2 , column 2 )
(Block
(CodeBlock
[ Let
(BasicBind (Just (Identifier "b"))) (Literal (String "module.typ"))
, LetFunc
(Identifier "f")
[]
(Block
(CodeBlock
[ Import
(Ident (Identifier "b"))
(SomeIdentifiers [ ( Identifier "b" , Nothing ) ])
, Ident (Identifier "b")
]))
, FuncCall
(Ident (Identifier "test"))
[ NormalArg (FuncCall (Ident (Identifier "f")) [])
, NormalArg (Literal (Int 1))
]
]))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [✅]),
parbreak() })