-
Notifications
You must be signed in to change notification settings - Fork 262
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
Prevent incorrect internal error message #5320
Prevent incorrect internal error message #5320
Conversation
Source/DafnyDriver/CliCompilation.cs
Outdated
@@ -22,15 +22,18 @@ namespace DafnyDriver.Commands; | |||
public record CanVerifyResult(ICanVerify CanVerify, IReadOnlyList<VerificationTaskResult> Results); | |||
|
|||
public class CliCompilation { | |||
private readonly ILogger<CliCompilation> logger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it's never used. Am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused indeed. Usage only occurred in a previous commit. Removed it.
…boardDrummer/dafny into preventIncorrectInternalErrorMessage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixes #5209
Fixes #5295
Description
How has this been tested?
Manually made code edits to simulate Boogie not returning, resulting in:
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.