roc/crates/compiler/solve/src
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
..
ability.rs Obligation checking for the Hash ability 2022-10-04 10:51:14 -05:00
lib.rs s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
module.rs Move solve problems to their own crate 2022-07-28 08:57:32 -04:00
solve.rs Correctly check mutual functional recursion between opaque types 2022-10-08 10:09:55 -05:00
specialize.rs Support derivation of Hash for Str and List 2022-10-04 14:09:40 -05:00