roc/compiler/load_internal
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
tests Fix a bunch of errors from clippy --tests 2022-05-10 15:21:48 -04:00
.gitignore Updated tests to use deterministic tmp dir 2022-04-20 21:25:12 -07:00
Cargo.toml Merge remote-tracking branch 'origin/trunk' into cli-max-threads 2022-05-07 16:23:41 -04:00