roc/crates/compiler/load
Elias Mulhall b515bfa77e
Use a shared env for desugaring and the rest of canonicalization
This refactor simplifies the desugar pass by reducing the number of
arguments threaded through each recursive function call.

- Add the module src string to `Env`.
- Add `line_info` to `Env` as a lazy-evaled function.
- Refactor desugar functions to take the `can::Env` struct in place of a
  number of params. This is mostly a find-and-replace, but in a few
  places `Vec::from_iter_in` was changed to `Vec::with_capacity_in`
  followed by a `for` loop in order to avoid lifetime issues.
- Remove unnecessary linter annotations for `clippy::too_many_arguments`
2024-09-05 20:13:48 -04:00
..
src Add Task as a built-in module/type 2024-06-25 00:03:56 -07:00
tests Use a shared env for desugaring and the rest of canonicalization 2024-09-05 20:13:48 -04:00
build.rs Merge branch 'main' into builtin-task 2024-07-03 00:42:48 -07:00
Cargo.toml split test_utils 2024-04-15 20:30:34 +10:00