typst-0.9: test/typ/compiler/field-00.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/field-00.typ"
( line 2 , column 2 )
(Let
(BasicBind (Just (Identifier "dict")))
(Dict
[ Reg ( Ident (Identifier "nothing") , Literal (String "ness") )
, Reg ( Ident (Identifier "hello") , Literal (String "world") )
]))
, SoftBreak
, Code
"typ/compiler/field-00.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FieldAccess
(Ident (Identifier "nothing")) (Ident (Identifier "dict")))
, NormalArg (Literal (String "ness"))
])
, SoftBreak
, Code
"typ/compiler/field-00.typ"
( line 4 , column 2 )
(Block
(CodeBlock
[ Let
(BasicBind (Just (Identifier "world")))
(FieldAccess
(Ident (Identifier "hello")) (Ident (Identifier "dict")))
, FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "world"))
, NormalArg (Literal (String "world"))
]
]))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })