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

Allocated 4 default #3637

Merged
merged 5 commits into from
Feb 28, 2023

Conversation

RustanLeino
Copy link
Collaborator

This PR makes /allocated:4 the default, which addresses soundness issues with /allocated:3.

The PR also deprecates the /allocated option. Going forward, Dafny will support only one encoding of the allocation state (namely, the one that's /allocated:4). As far as I know, the previous users of /allocated:1 or /allocated:2 are no longer using an /allocated setting.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) February 27, 2023 10:18
@keyboardDrummer keyboardDrummer merged commit 4e9425b into dafny-lang:main-4.0 Feb 28, 2023
@robin-aws
Copy link
Member

Note that two jobs were hung for over an hour - I cancelled them in order to attempt a re-run, but then the PR was auto-merged anyway for some reason. I suspect an internal GitHub error of some kind. We can rely on the deep tests on this branch to catch things if there was actually a failure lurking there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants