roc/compiler/mono
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 remove ven_graph from mono dependencies 2022-05-08 12:32:24 +02:00