Skip to content
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

Needs Design: Allow &mut and raw pointer returning functions in interfaces #1195

Open
karthikbhargavan opened this issue Dec 18, 2024 · 0 comments
Labels
needs-design We need to write a proper design for this issue.

Comments

@karthikbhargavan
Copy link
Contributor

We currently do not support code that returns &mut or *mut and more generally we ban these patterns from appearing in many places in the AST. However, it may be safe to model these types abstractly and allow them to appear in "interfaces", i.e. functions with empty bodies that are place-holders and will be either hand-modeled or abstracted for verification.

This needs a design document.

@W95Psp W95Psp added the needs-design We need to write a proper design for this issue. label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-design We need to write a proper design for this issue.
Projects
None yet
Development

No branches or pull requests

2 participants