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

[prover][doc] MSL docs used t: type to quantify over types, but generics must be used #15604

Open
wrwg opened this issue Dec 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wrwg
Copy link
Contributor

wrwg commented Dec 14, 2024

Before monomorphization was introduced as a major performance improvement for verification times, one could use specs invariant forall T: type @ exists<R<T>>(a). This should be replaced by invariant<T> exists<R<T>>(a), but the MSL docs describe the old style.

Additionally, it is surprising that T: type seems to be still supported. Does the type type actually still works, or is it accidentally still passing the type checker as users report? If the type of types is not longer working any longer, mentioning it should be removed from the docs, and according better error message produced.

@wrwg wrwg added the bug Something isn't working label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant