roc/crates/compiler/solve/tests
Ayaz Hafiz 414a320358
Constrain flex inference variables without re-generalization
When constraining a recursive function like

```
f : _ -> {}
f : \_ -> f {}
```

our first step is to solve the value type of `f` relative to its
annotation. We have to be careful that the inference variable in the
signature of `f` is not generalized until after the body of `f` is
solved. Otherwise, we end up admitting polymorphic recursion.
2022-11-22 10:43:59 -06:00
..
helpers moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
solve_expr.rs Constrain flex inference variables without re-generalization 2022-11-22 10:43:59 -06:00