typst-0.9: test/typ/regression/issue81.out
--- parse tree ---
[ Code
"typ/regression/issue81.typ"
( line 1 , column 2 )
(LetFunc
(Identifier "bug")
[]
(Block
(CodeBlock
[ If
[ ( Literal (Boolean True)
, Block
(CodeBlock
[ Return
(Just
(FuncCall
(Ident (Identifier "heading"))
[ NormalArg (Block (Content [ Text "1" ]))
, KeyValArg (Identifier "level") (Literal (Int 2))
]))
])
)
]
, Return
(Just
(FuncCall
(Ident (Identifier "strong"))
[ NormalArg (Block (Content [ Text "3" ])) ]))
])))
, SoftBreak
, Code
"typ/regression/issue81.typ"
( line 7 , column 2 )
(FuncCall (Ident (Identifier "bug")) [])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
heading(body: text(body: [1]),
level: 2),
parbreak() })