summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
AgeCommit message (Collapse)Author
2023-10-29Improve "cannot apply '{+,-}'" error messages (#2510)MALO
2023-10-27Fix error priority for function argumentsLaurenz
Errors about superfluous arguments are now thrown before errors of the function execution itself. Fixes #1367
2023-10-27Fix argument parsing bugLaurenz
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-27Implement unary `array.zip`, closing #2478 (#2491)Joseph Wilson
2023-10-10Adds a default value to `.remove()` on `dict` and `array` (#2346)Sébastien d'Herbais de Thun
2023-10-09Use/allow U+2212 MINUS SIGN instead of U+002D HYPHEN MINUS everywhere (#2318)MALO
2023-10-03Gradient Part 2 - Linear gradients (#2279)Sébastien d'Herbais de Thun
2023-10-02Add capability to get current compiler version (#2016)T0mstone
2023-09-28Handle compiler panics when handling infinite lengths (#2215)bluebear94
2023-09-26Avoid plugin panics (#2232)Arnaud Golfouse
2023-09-19Gradient Part 1 - Color rework (#2171)Sébastien d'Herbais de Thun
2023-09-16Fix missing capturing of assignmentsLaurenz
The previous commit was a bit overambitious. The left-hand side of assignments should actually be fully captured: Argument lists in `at` calls can contain captured variables. And if the assigned variable itself is captured, then the function is faulty anyway. (And we ensure the correct error message by capturing it.) Fixes #2169
2023-09-15Remove 64-bit-specific testLaurenz
Fixes #2139
2023-09-11Type compatibilityLaurenz
For now, types can be used like strings in operations to prevent breakage of many packages. Hopefully, we can get rid of this in the future.
2023-09-11Update tests for type system changesLaurenz
2023-09-04Allow packages to specify their minimum compiler versionLaurenz
2023-08-30Add test for ends-with fixLaurenz
2023-08-30Allow renaming imports with `as` (#1923)Pg Biel
2023-08-30Make zip variadic (#2041)Sébastien d'Herbais de Thun
2023-08-30Duration type, simple date-duration-calculations and comparisons (#1843)Beiri22
2023-08-26Implement `rev()` method on string (#2013)Kevin K
2023-08-22Support selectors with and/or followed by before/after (#1883)damaxwell
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-08-21Add hint for missing method error for dictionary where a field with a ↵Simon Rask
function is present (#1922)
2023-08-21Check for control flow event before let binding (#1912)bluebear94
Fixes #1906 (trying to destructure the result of `continue`).
2023-08-21Add intersperse() method for arrays (#1897)Gokul Soumya
2023-08-21Make bytes joinableLaurenz
2023-08-21Wasm plugin system (#1555)astrale-sharp
2023-08-08Fix crashing on empty regexps (#1870)sitandr
2023-08-04Bytes typeLaurenz
- Moves `Bytes` from `util` to `eval` module - Accepts bytes in `str` function for bytes -> str conversion - Adds `bytes` function for str | array -> bytes conversion - Adds `array` function for bytes -> array conversion - Adds `len`, `at`, and `slice` methods for bytes - Adds `encoding` parameter to `read` function
2023-07-29Add start parameter to array enumerate (#1818)bluebear94
2023-07-26Update field mutation error message (#1742)Pg Biel
2023-07-18Adding `dedup` to `array` (#1738)Sébastien d'Herbais de Thun
2023-07-11Add fields and methods to several primitives (#790)Pg Biel
2023-07-06Better error messages for `#` expressionsLaurenz
2023-07-06Better error messages for keywords in place of identifiersLaurenz
Fixes #1123
2023-07-05Parser hints infrastructure (#1570)Mathias Fischler
2023-06-30Minor improvementsLaurenz
2023-06-28Reintroduce `--root`Laurenz
2023-06-27Basic package managementLaurenz
2023-06-24Add infrastructure to enrich errors with hints (#1486)Mathias Fischler
2023-06-12Resolve #1141: Add hint for missing numbering, improve hint format ↵Mathias Fischler
consistency (#1456)
2023-06-09Undo regex type renameLaurenz
Unnecessary breaking change for now
2023-05-30Fix doc linksLaurenz
2023-05-30Add `fields` method to content (#1340)MALO
2023-05-29Fix `.at(default: ...)` for strings and content (#1339)Pg Biel
2023-05-24Rework delimiter errorsLaurenz
Fixes #572
2023-05-22Fix field access on styled elementLaurenz
Fixes #1197
2023-05-22Fix removal order for dictionaryLaurenz
Switches to `shift_remove` for now. In the future, we should look into a more efficient implementation. Fixes #1258.
2023-05-22Clearer error messages for failed comparisonsLaurenz
Fixes #1231
2023-05-19Update string doc: index can be negative (#1198)Leedehai