roc/crates/compiler/solve/tests
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
..
helpers moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
solve_expr.rs Implement weakening of variables introduced in branch patterns 2023-01-11 14:28:46 -06:00