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

Remove one instance of static state in the compilation pipeline #3065

Merged

Conversation

keyboardDrummer
Copy link
Member

@keyboardDrummer keyboardDrummer commented Nov 17, 2022

Fixes #2945

Changes

Remove an instance of static state in the compilation pipeline. Such static state is bad because the pipeline may be run multiple times, causing subsequent runs to be affected by previous ones.

Testing

  • TODO, but out of scope of this PR: change our integration tests to run all the tests in a single Dafny process.

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) November 18, 2022 13:15
Copy link
Member

@MikaelMayer MikaelMayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really !this variable was static?! Well spotted.
Approved, happy to merge, but could you please add a release note about this bug fix?

Copy link
Member

@MikaelMayer MikaelMayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done

@keyboardDrummer keyboardDrummer merged commit 48f2dec into dafny-lang:master Nov 21, 2022
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.

Post-mortem/investigation on #2828
2 participants