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

Allow verifying against a library version X, but running against a newer version X+N #5349

Open
keyboardDrummer opened this issue Apr 23, 2024 · 0 comments
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny

Comments

@keyboardDrummer
Copy link
Member

Allow verifying against a library version X, but running against a newer version X+N if its contract changed in a backwards compatible way, such as new methods or postconditions being added.

This feature becomes important when there is a Dafny library ecosystem. Without it, if a low level library, such as the Dafny runtime, updates, then all directly or indirectly consuming libraries need to update as well. With this change, a low level library can release a backwards compatible new versions without requiring other libraries to release an update as well.

@keyboardDrummer keyboardDrummer added the kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny label Apr 23, 2024
@keyboardDrummer keyboardDrummer changed the title Allow verifying against a library version X, but running against a newer version Allow verifying against a library version X, but running against a newer version X+N Apr 23, 2024
@robin-aws robin-aws added this to the Library support milestone Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
Projects
None yet
Development

No branches or pull requests

2 participants