packages feed

typst-0.9: test/typ/compiler/closure-07.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/compiler/closure-07.typ"
    ( line 2 , column 2 )
    (Block
       (CodeBlock
          [ Let (BasicBind (Just (Identifier "g"))) (Literal (String "hi"))
          , LetFunc
              (Identifier "f")
              []
              (Block
                 (CodeBlock
                    [ LetFunc (Identifier "g") [] (Literal (String "bye"))
                    , FuncCall (Ident (Identifier "g")) []
                    ]))
          , FuncCall
              (Ident (Identifier "test"))
              [ NormalArg (FuncCall (Ident (Identifier "f")) [])
              , NormalArg (Literal (String "bye"))
              ]
          ]))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [✅]), 
                 parbreak() })