-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make verifier understand (!new) (#1935)
Make the verifier understand that a type marked with `(!new)` is considered allocated in any state. Also, this PR fixes a bug in the compilation of iterators to C#, JavaScript, and Go. The bug had caused malformed code for in-parameters of an iterator, in the case when the type of such an in-parameter was not an auto-init type.
- Loading branch information
1 parent
811c966
commit 81cf582
Showing
13 changed files
with
150 additions
and
51 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
|
||
Dafny program verifier finished with 5 verified, 0 errors | ||
Dafny program verifier finished with 8 verified, 0 errors | ||
hello, instance | ||
x is 0 | ||
0.0 1.0 2.0 3.0 4.0 5.0 | ||
0.0 1.0 2.0 | ||
false | ||
|
||
Dafny program verifier finished with 5 verified, 0 errors | ||
Dafny program verifier finished with 8 verified, 0 errors | ||
hello, instance | ||
x is 0 | ||
0.0 1.0 2.0 3.0 4.0 5.0 | ||
0.0 1.0 2.0 | ||
false | ||
|
||
Dafny program verifier finished with 5 verified, 0 errors | ||
Dafny program verifier finished with 8 verified, 0 errors | ||
hello, instance | ||
x is 0 | ||
0.0 1.0 2.0 3.0 4.0 5.0 | ||
0.0 1.0 2.0 | ||
false |
Oops, something went wrong.