mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
710a10a29c
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |