roc/compiler/types
Ayaz Hafiz 710a10a29c
Check for invalid cycles after type solving recursive defs
Disallow cycles that pass through a non-function value. Since we
evaluate eagerly, having one such cycle means there is at least one path
in the program that (likely) has unbounded recursion. Of course we can't
be certain (halting problem), but it's very likely, and avoids stuff
like #1926. Also, mono (as it's done today) won't work if things in a
cycle aren't functions.

Closes #1926
2022-05-11 14:57:01 -04:00
..
src Check for invalid cycles after type solving recursive defs 2022-05-11 14:57:01 -04:00
Cargo.toml Factor bespoke debug variables into debug_flags crate 2022-04-29 17:45:55 -04:00