mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
![]() 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` |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |