-
Notifications
You must be signed in to change notification settings - Fork 49
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
failure to infer that a type is a pair #333
Comments
Unfortunately, we can't infer that it's a pair: the projectors are generic in the size of the tuple. You can fix it for pairs by using |
EasyCrypt cannot infer the size of the tuple from the |
Yes, our type inference is simpler that it needs to be. |
Superseded by #630 As François said, we are not even using a bidirectional type-checker. |
The following code fails even though it should be possible to infer that
x
is a tuple:Adding a type annotation makes this succeed:
The text was updated successfully, but these errors were encountered: