-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive fixpoint: Inductive argument is not detected as a switch pattern var. #54
Comments
The error message is not precise: the inductive argument of a recursive call must be a switch clause pattern variable of the outermost switch statement (or a component thereof). So the fix in this case is simply to swap the nesting order of the two switch statements. |
That works. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am building a large fixpoint, that contains nested
switch
statements. For some reason the code below fails with the followingAlthough, the
two_switch_fp(bt, nil)
does use the switch clause pattern variablebt
.How can I make it more explicit?
The text was updated successfully, but these errors were encountered: