Mutual recursion does not work #562
nielstron
started this conversation in
Ideas / Improvements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Mutual recursion does not work in opshin. Concretely, the following code fails to compile
This could be solved on the type level by first extract function signatures and placing them all in scope. A seperate question is whether the compiler can handle this (are the later-defined functions in scope?)
Beta Was this translation helpful? Give feedback.
All reactions