typst-0.9: test/typ/compiler/break-continue-10.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, SoftBreak
, Comment
, SoftBreak
, Code
"typ/compiler/break-continue-10.typ"
( line 4 , column 2 )
(For
(BasicBind (Just (Identifier "i")))
(FuncCall
(Ident (Identifier "range")) [ NormalArg (Literal (Int 10)) ])
(Block
(CodeBlock
[ Block (Content [ Text "Hello" ])
, Set
(Ident (Identifier "text"))
[ NormalArg (Ident (Identifier "blue")) , SpreadArg Break ]
, Block (Content [ Text "Not" , Space , Text "happening" ])
])))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [
]),
text(body: [Hello]),
parbreak() })