typst/tests/typ/compiler
Laurenz cbfd9884a9 Fix argument parsing bug
Things like `luma(1, key: "val")` didn't produce an error before because `args.finish()?` wasn't called. This changes `args: Args` to `args: &mut Args` to make it impossible for that to happen.
2023-10-27 13:25:15 +02:00
..
modules New import syntax 2023-01-03 12:32:17 +01:00
array.typ Fix argument parsing bug 2023-10-27 13:25:15 +02:00
bench.typ New default style 2023-02-25 20:04:30 +01:00
block.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
break-continue.typ Check for control flow event before let binding (#1912) 2023-08-21 16:21:37 +02:00
bytes.typ Add capability to get current compiler version (#2016) 2023-10-02 20:28:19 +02:00
call.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
closure.typ Fix missing capturing of assignments 2023-09-16 20:41:44 +02:00
color.typ Gradient Part 1 - Color rework (#2171) 2023-09-19 15:48:33 +02:00
comment.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
construct.typ Renaming and refactoring 2023-03-19 22:39:19 +01:00
content-field.typ Support indices preceding the base symbol, revamping #699 (#825) 2023-04-25 11:24:07 +02:00
dict.typ Adds a default value to `.remove()` on `dict` and `array` (#2346) 2023-10-10 11:44:59 +02:00
duration.typ Duration type, simple date-duration-calculations and comparisons (#1843) 2023-08-30 12:28:53 +02:00
embedded-expr.typ Better error messages for `#` expressions 2023-07-06 16:01:23 +02:00
field.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
for.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
highlight.typ Fix highlighting of identifiers before brackets 2023-04-11 17:26:00 +02:00
hint.typ Minor improvements 2023-06-30 09:59:58 +02:00
if.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
import.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
include.typ Give more specific error messages (#881) 2023-04-19 13:26:55 +02:00
label.typ Fix field access on styled element 2023-05-22 13:49:09 +02:00
let.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
methods.typ Use/allow U+2212 MINUS SIGN instead of U+002D HYPHEN MINUS everywhere (#2318) 2023-10-09 15:30:40 +02:00
module.typ Interpret methods on modules as functions in modules 2023-01-23 13:26:10 +01:00
ops-assoc.typ Reorganize library and tests 2022-11-29 14:18:13 +01:00
ops-invalid.typ Remove 64-bit-specific test 2023-09-15 12:34:35 +02:00
ops-prec.typ Rework delimiter errors 2023-05-24 16:58:51 +02:00
ops.typ Handle compiler panics when handling infinite lengths (#2215) 2023-09-28 11:15:09 +02:00
packages.typ Allow packages to specify their minimum compiler version 2023-09-04 16:29:57 +02:00
plugin-oob.typ Avoid plugin panics (#2232) 2023-09-26 16:21:21 +02:00
plugin.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
recursion.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
repr-color-gradient.typ Gradient Part 2 - Linear gradients (#2279) 2023-10-03 19:31:02 +02:00
repr.typ Gradient Part 2 - Linear gradients (#2279) 2023-10-03 19:31:02 +02:00
return.typ Numbering functions 2022-12-30 20:00:50 +01:00
selector-logical.typ Support selectors with and/or followed by before/after (#1883) 2023-08-22 12:23:55 +02:00
set.typ Reintroduce `--root` 2023-06-28 10:36:53 +02:00
shorthand.typ Require font to be a named argument 2023-03-08 10:44:24 +01:00
show-bare.typ Fix show rule colon error message 2023-03-21 13:08:18 +01:00
show-node.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
show-recursive.typ Reorganize library and tests 2022-11-29 14:18:13 +01:00
show-selector.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
show-text.typ Fix crashing on empty regexps (#1870) 2023-08-08 14:42:04 +02:00
spread.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00
string.typ Add test for ends-with fix 2023-08-30 17:19:25 +02:00
type-compatibility.typ Type compatibility 2023-09-11 17:38:03 +02:00
while.typ Update tests for type system changes 2023-09-11 14:42:43 +02:00