typst-0.9: test/typ/bugs/square-base-00.out
--- parse tree ---
[ Code
"typ/bugs/square-base-00.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "height") (Literal (Numeric 80.0 Pt)) ])
, SoftBreak
, Code
"typ/bugs/square-base-00.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "square"))
[ KeyValArg (Identifier "width") (Literal (Numeric 40.0 Percent))
, NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "width") (Literal (Numeric 60.0 Percent))
, KeyValArg (Identifier "height") (Literal (Numeric 80.0 Percent))
])
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
square(body: rect(height: 80%,
width: 60%),
width: 40%),
parbreak() })