roc/crates/compiler/solve
Ayaz Hafiz d9863cbbaa
Correctly check mutual functional recursion between opaque types
The mutual-recursion checks does not admit types that are not function
types; because Roc is strict, only functional values can be involved in
mutual recursion. However, this check was exercised by checking the head
constructor of a type, which is not the correct way to do it. Aliases
and opaque types may in fact be function types as well, so we must chase
their actual contents.

Closes #4246
2022-10-08 10:09:55 -05:00
..
docs Add language to all fenced code blocks 2022-09-09 01:12:31 -06:00
src Correctly check mutual functional recursion between opaque types 2022-10-08 10:09:55 -05:00
tests Correctly check mutual functional recursion between opaque types 2022-10-08 10:09:55 -05:00
Cargo.toml Bump insta from 1.19.0 to 1.20.0 2022-09-26 07:14:24 +00:00