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

Don't warn about assume true being unused #4611

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

atomb
Copy link
Member

@atomb atomb commented Oct 4, 2023

Previously, --warn-redundant-assumptions would warn about instances of assume true. These are almost always intentionally included, and used as a place to hang attributes related to the proof process (like {:split_here}), so it doesn't make sense to warn about them.

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

@keyboardDrummer keyboardDrummer merged commit da15e93 into dafny-lang:master Oct 5, 2023
18 checks passed
@atomb atomb deleted the no-warn-assume-true branch October 5, 2023 22:41
@atomb atomb self-assigned this Oct 13, 2023
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.

None yet

2 participants