roc/crates/compiler/solve
Ayaz Hafiz 058644aa96
Implement weakening of variables introduced in branch patterns
Variables introduced in branch patterns should never be generalized in
the new weakening model. This implements that. The strategy is:

- when we have a let-binding that should be weakened, do not introduce
  its bound variables in a new (higher) rank
- instead, introduce them at the current rank, and also solve the
  let-binding at the current rank
- if any of those variables should then be generalized relative to the
  current rank, they will be so when the current rank is popped and
  generalized
2023-01-11 14:28:46 -06:00
..
docs Add language to all fenced code blocks 2022-09-09 01:12:31 -06:00
src Implement weakening of variables introduced in branch patterns 2023-01-11 14:28:46 -06:00
tests Implement weakening of variables introduced in branch patterns 2023-01-11 14:28:46 -06:00
Cargo.toml Provide roc_cache_dir everywhere 2022-11-20 19:53:48 -05:00