tinymist/syntaxes/textmate/tests/unit/basic/call-ident.typ
Myriad-Dreamin 2e7c7732dc
feat: mark correct expression boundary on all testing files from typst/typst (#85)
* fix: comment and set rules

* fix: losen for rules

* fix: chore field, escape

* fix: hash termination

* dev: handle math mode

* fix: terminate expressions on right braces

* dev: match spread operator

* dev: remove complex check on if

* dev: add two bugs

* dev: fix if/while conditions

* fix: terminate expressions on right braces 2
2024-03-23 01:19:43 +08:00

44 lines
389 B
Typst

#let f(..args) = f
#let g = (f: f)
#g.insert("g", g)
#f()
#f() []
#f() ()
#f ()
#f []
#f[] []
#(f())()
#( f())()
#(f() )()
#((f())(f()))
#f()()
#f(f)(f, f)
#(g.g.f)()
#list.item[]
#list[]
#{ f }()
#({ f })()
#{ f } ()
#({ f }) ()
#(list./*g*/item[])
#(list./*g*/ item[])
#(f /*g*/ ())
#{
("").join()
}
#test([#": "])
#{}
#assert(str(it.fields().label))
#{}
#table(..range(6))