-
Notifications
You must be signed in to change notification settings - Fork 18
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
Hide associated types equality constraints #127
Labels
C-simplification-pass
Request for charon to process the output llbc
Comments
Rephrasing a bit: we can extract the code above with Charon, and it's actually handled by Aeneas (which has a normalization mechanism) but the generated pure model doesn't type-check. |
14 tasks
This was referenced Jun 19, 2024
This was referenced Jul 22, 2024
Merged
This was referenced Nov 21, 2024
This was referenced Nov 27, 2024
This was referenced Dec 11, 2024
This was referenced Dec 26, 2024
This was referenced Jan 2, 2025
This was referenced Jan 17, 2025
Copying over the current limitation I wrote about in #532: This has 4 know limitations today:
This also has 3 fundamental limitations that we can't work around:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following is unsupported because we don't handle the equality constraint:
The solution proposed by @sonmarcho would be to transform associated types into type parameters. Type equalities would then only apply to free type variables, which we can handle by merging any two variables that are equated. We would therefore generate:
The text was updated successfully, but these errors were encountered: