-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring back --warn-as-errors for backwards compatibility (#5242)
### Description Bring back --warn-as-errors for backwards compatibility ### How has this been tested? Updated a littish test <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
- Loading branch information
1 parent
f2aba48
commit 0c89569
Showing
6 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...LitTests/LitTest/cli/pass-on-warnings.dfy → ...s/LitTests/LitTest/cli/allow-warnings.dfy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
Source/IntegrationTests/TestFiles/LitTests/LitTest/cli/allow-warnings.dfy.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
allow-warnings.dfy(5,6): Warning: Shadowed local-variable name: x | ||
|
||
Dafny program verifier finished with 0 verified, 0 errors | ||
allow-warnings.dfy(5,6): Warning: Shadowed local-variable name: x | ||
|
||
Dafny program verifier finished with 0 verified, 0 errors |
3 changes: 0 additions & 3 deletions
3
Source/IntegrationTests/TestFiles/LitTests/LitTest/cli/pass-on-warnings.dfy.expect
This file was deleted.
Oops, something went wrong.