I have the following example that triggers a segfault. Am I missing something about the syntax? I’ll try to look into it.
countdown = |n| if True { 0 } else { countdown(n - 1) }
main! = || {
_result = countdown(1)
}
Ok, I got a fix for this one too. PR incoming.
Ok PR with the fix: https://github.com/roc-lang/roc/pull/8573
Last updated: Dec 21 2025 at 12:15 UTC