-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b69d4c
commit 0029300
Showing
4 changed files
with
72 additions
and
53 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
8 changes: 8 additions & 0 deletions
8
third_party/move/move-prover/tests/sources/functional/enum.move
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
90 changes: 45 additions & 45 deletions
90
third_party/move/move-prover/tests/sources/functional/enum.v2_exp
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,63 +1,63 @@ | ||
Move prover returns: exiting with verification errors | ||
error: data invariant does not hold | ||
┌─ tests/sources/functional/enum.move:9:9 | ||
│ | ||
9 │ invariant self.x > 20; | ||
│ ^^^^^^^^^^^^^^^^^^^^^^ | ||
│ | ||
= at tests/sources/functional/enum.move:15: t9_common_field | ||
= at tests/sources/functional/enum.move:16: t9_common_field | ||
= at tests/sources/functional/enum.move:17: t9_common_field | ||
= at tests/sources/functional/enum.move:14: t9_common_field | ||
= at tests/sources/functional/enum.move:9 | ||
= at tests/sources/functional/enum.move:10 | ||
= at tests/sources/functional/enum.move:14: t9_common_field | ||
= common = <redacted> | ||
= at tests/sources/functional/enum.move:19: t9_common_field | ||
= at tests/sources/functional/enum.move:9 | ||
┌─ tests/sources/functional/enum.move:17:9 | ||
│ | ||
17 │ invariant self.x > 20; | ||
│ ^^^^^^^^^^^^^^^^^^^^^^ | ||
│ | ||
= at tests/sources/functional/enum.move:23: t9_common_field | ||
= at tests/sources/functional/enum.move:24: t9_common_field | ||
= at tests/sources/functional/enum.move:25: t9_common_field | ||
= at tests/sources/functional/enum.move:22: t9_common_field | ||
= at tests/sources/functional/enum.move:17 | ||
= at tests/sources/functional/enum.move:18 | ||
= at tests/sources/functional/enum.move:22: t9_common_field | ||
= common = <redacted> | ||
= at tests/sources/functional/enum.move:27: t9_common_field | ||
= at tests/sources/functional/enum.move:17 | ||
|
||
error: data invariant does not hold | ||
┌─ tests/sources/functional/enum.move:10:9 | ||
┌─ tests/sources/functional/enum.move:18:9 | ||
│ | ||
10 │ invariant (self is CommonFields::Bar) ==> self.z > 10; | ||
18 │ invariant (self is CommonFields::Bar) ==> self.z > 10; | ||
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
│ | ||
= at tests/sources/functional/enum.move:25: test_data_invariant | ||
= at tests/sources/functional/enum.move:26: test_data_invariant | ||
= at tests/sources/functional/enum.move:27: test_data_invariant | ||
= at tests/sources/functional/enum.move:24: test_data_invariant | ||
= at tests/sources/functional/enum.move:9 | ||
= at tests/sources/functional/enum.move:10 | ||
= at tests/sources/functional/enum.move:24: test_data_invariant | ||
= at tests/sources/functional/enum.move:33: test_data_invariant | ||
= at tests/sources/functional/enum.move:34: test_data_invariant | ||
= at tests/sources/functional/enum.move:35: test_data_invariant | ||
= at tests/sources/functional/enum.move:32: test_data_invariant | ||
= at tests/sources/functional/enum.move:17 | ||
= at tests/sources/functional/enum.move:18 | ||
= at tests/sources/functional/enum.move:32: test_data_invariant | ||
= common = <redacted> | ||
= at tests/sources/functional/enum.move:29: test_data_invariant | ||
= at tests/sources/functional/enum.move:37: test_data_invariant | ||
= <redacted> = <redacted> | ||
= z = <redacted> | ||
= at tests/sources/functional/enum.move:30: test_data_invariant | ||
= at tests/sources/functional/enum.move:9 | ||
= at tests/sources/functional/enum.move:10 | ||
= at tests/sources/functional/enum.move:38: test_data_invariant | ||
= at tests/sources/functional/enum.move:17 | ||
= at tests/sources/functional/enum.move:18 | ||
|
||
error: unknown assertion failed | ||
┌─ tests/sources/functional/enum.move:68:13 | ||
┌─ tests/sources/functional/enum.move:76:13 | ||
│ | ||
68 │ assert _common_vector_1.x != _common_vector_2.x; // this fails | ||
76 │ assert _common_vector_1.x != _common_vector_2.x; // this fails | ||
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
│ | ||
= at tests/sources/functional/enum.move:56: test_enum_vector | ||
= at tests/sources/functional/enum.move:55: test_enum_vector | ||
= _common_vector_1 = <redacted> | ||
= at tests/sources/functional/enum.move:59: test_enum_vector | ||
= at tests/sources/functional/enum.move:60: test_enum_vector | ||
= at tests/sources/functional/enum.move:61: test_enum_vector | ||
= at tests/sources/functional/enum.move:58: test_enum_vector | ||
= at tests/sources/functional/enum.move:9 | ||
= at tests/sources/functional/enum.move:10 | ||
= at tests/sources/functional/enum.move:58: test_enum_vector | ||
= _common_fields = <redacted> | ||
= at tests/sources/functional/enum.move:64: test_enum_vector | ||
= at tests/sources/functional/enum.move:65: test_enum_vector | ||
= at tests/sources/functional/enum.move:9 | ||
= at tests/sources/functional/enum.move:65: test_enum_vector | ||
= at tests/sources/functional/enum.move:63: test_enum_vector | ||
= _common_vector_2 = <redacted> | ||
= _common_vector_1 = <redacted> | ||
= at tests/sources/functional/enum.move:67: test_enum_vector | ||
= at tests/sources/functional/enum.move:68: test_enum_vector | ||
= at tests/sources/functional/enum.move:69: test_enum_vector | ||
= at tests/sources/functional/enum.move:66: test_enum_vector | ||
= at tests/sources/functional/enum.move:17 | ||
= at tests/sources/functional/enum.move:18 | ||
= at tests/sources/functional/enum.move:66: test_enum_vector | ||
= _common_fields = <redacted> | ||
= at tests/sources/functional/enum.move:72: test_enum_vector | ||
= at tests/sources/functional/enum.move:73: test_enum_vector | ||
= at tests/sources/functional/enum.move:17 | ||
= at tests/sources/functional/enum.move:73: test_enum_vector | ||
= at tests/sources/functional/enum.move:71: test_enum_vector | ||
= _common_vector_2 = <redacted> | ||
= at tests/sources/functional/enum.move:76: test_enum_vector |