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

Make --filter-* work with measure-complexity #5264

Merged
merged 5 commits into from
Apr 17, 2024

Conversation

atomb
Copy link
Member

@atomb atomb commented Mar 27, 2024

Description

Make --filter-position and --filter-symbol work with measure-complexity.

How has this been tested?

Just manually, though those flags are already tested for dafny verify.

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

@@ -49,7 +49,9 @@ public static class DafnyCommands {
CommonOptionBag.VerificationCoverageReport,
CommonOptionBag.ExtractCounterexample,
CommonOptionBag.ShowInference,
CommonOptionBag.ManualTriggerOption
CommonOptionBag.ManualTriggerOption,
CommonOptionBag.FilterSymbol,
Copy link
Member

@keyboardDrummer keyboardDrummer Mar 28, 2024

Choose a reason for hiding this comment

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

I think VerificationOptions is too wide, because it includes everything that can do verification, such as dafny build and dafny translate. Those commands have no business filtering verification.

I took the liberty of applying the above suggestion and committing it to this PR, and have approved it. If you're OK with this change, feel free to merge. You're also free to revert it and do something else :-)

Copy link
Member Author

Choose a reason for hiding this comment

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

I think that's reasonable. I'll merge it as-is with your update.

@atomb atomb enabled auto-merge (squash) March 28, 2024 15:22
auto-merge was automatically disabled April 8, 2024 09:18

Merge queue setting changed

auto-merge was automatically disabled April 9, 2024 10:14

Merge queue setting changed

@atomb atomb enabled auto-merge (squash) April 16, 2024 22:14
@atomb atomb merged commit 91cdb2b into dafny-lang:master Apr 17, 2024
20 checks passed
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