-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support ? operator #105
Comments
This boils down to support for associated types, which would require a little bit of feature work, to encode the associated types in trait parameters as type arguments to pre-monomorphized functions. |
You'll get support for associated types for free once we solve AeneasVerif/charon#127, which is at the top of my priority queue. |
Indeed, I was thinking of doing the same encoding at the eurydice level (types within traits as type parameters of the enclosing function), but if you're doing it in Charon, then indeed it should come "for free". Thanks! |
The question mark operator is not supported.
The following Rust code
generates the following C code.
The text was updated successfully, but these errors were encountered: