roc/crates/compiler/solve
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
..
docs Add language to all fenced code blocks 2022-09-09 01:12:31 -06:00
src Merge pull request #4525 from roc-lang/fix-fixpoints-2 2022-11-19 17:47:02 -06:00
tests Constrain flex inference variables without re-generalization 2022-11-22 10:43:59 -06:00
Cargo.toml more workspace dependencies 2022-11-13 16:10:02 +01:00