typst/tests/lang/typ/dictionaries.typ
Laurenz cc5f14193c Flip test directory structure 🔃
Move full/lang/library to the top-level as that's more ergonomic to use.
2021-01-16 15:39:25 +01:00

15 lines
322 B
XML

// Empty
{(:)}
// Two pairs.
{(one: 1, two: 2)}
// Error: 1:9-1:10 expected named pair, found expression
{(a: 1, b)}
// Error: 4:4-4:5 expected named pair, found expression
// Error: 3:5-3:5 expected comma
// Error: 2:12-2:16 expected identifier
// Error: 1:17-1:18 expected expression, found colon
{(:1 b:[], true::)}