-
Notifications
You must be signed in to change notification settings - Fork 33
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
Wrong type-checking with mutually recursive definitions #548
Comments
Apparently it is not treated as a mutually recursive function definition but as a normal definition, so instead of:
it is seen as:
with |
Indeed, I didn't realized it was a parsing problem at first! Since Alt-Ergo supports mutually recursive ATDs, it is expected that it supports also mutually recursive definitions. A possible solution to avoid the parsing ambiguity is to use another keyword than |
Fixed by #549.
|
Fixed by #550 for future Dolmen front-end. |
With the attached file MutualDef.zip, Alt-Ergo version 2.4.2 type-checker wrongly complains with
Similar definitions without mutual recursion are accepted normally.
The text was updated successfully, but these errors were encountered: