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

fix: Avoid NPE when building a doo file with —no-verify #5152

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

robin-aws
Copy link
Member

Description

Fixes #5143.

How has this been tested?

Added this case to separate-verification/app.dfy.

separate-verification/assumptions.dfy SHOULD have caught this regression, but unfortunately the command that triggers the exception uses ! to expect a non-zero exit code, and LIT test commands usually only redirect stdout to a file to diff against the expected output, so the extra stderr output with the exception trace is lost.

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

@robin-aws robin-aws enabled auto-merge (squash) March 6, 2024 18:43
@robin-aws robin-aws merged commit 5ece05f into dafny-lang:master Mar 6, 2024
20 checks passed
@robin-aws robin-aws deleted the github-issue-5143 branch March 6, 2024 21:12
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.

Exception when generating doo file with --no-verify flag
2 participants