diff options
Diffstat (limited to 'tests/typ/code')
| -rw-r--r-- | tests/typ/code/spread.typ | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/code/spread.typ b/tests/typ/code/spread.typ index f1414313..4e7e0ad8 100644 --- a/tests/typ/code/spread.typ +++ b/tests/typ/code/spread.typ @@ -51,6 +51,13 @@ } --- +// None is spreadable. +#let f() = none +#f(..none) +#f(..if false {}) +#f(..for x in () []) + +--- // Error: 8-14 cannot spread string #min(.."nope") |
