-
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
0cd189b
commit 2940f12
Showing
30 changed files
with
608 additions
and
167 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
12 changes: 6 additions & 6 deletions
12
third_party/move/move-compiler-v2/tests/checking/inlining/lambda4.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,13 +1,13 @@ | ||
|
||
Diagnostics: | ||
error: Functions may not return function-typed values, but function `M::macro_result_lambda_not_allowed` return type is `|u64|`: | ||
┌─ tests/checking/inlining/lambda4.move:86:23 | ||
error: Functions may not return function-typed values, but function `M::macro_result_lambda_not_allowed` return type is the function type `|u64|`: | ||
┌─ tests/checking/inlining/lambda4.move:86:58 | ||
│ | ||
86 │ public inline fun macro_result_lambda_not_allowed(): |u64| { // expected lambda not allowed | ||
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
│ ^^^^^ | ||
|
||
error: Functions may not return function-typed values, but function `M::fun_result_lambda_not_allowed` return type is `|u64|`: | ||
┌─ tests/checking/inlining/lambda4.move:89:16 | ||
error: Functions may not return function-typed values, but function `M::fun_result_lambda_not_allowed` return type is the function type `|u64|`: | ||
┌─ tests/checking/inlining/lambda4.move:89:49 | ||
│ | ||
89 │ public fun fun_result_lambda_not_allowed(): |u64| { // expected lambda not allowed | ||
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
│ ^^^^^ |
6 changes: 3 additions & 3 deletions
6
third_party/move/move-compiler-v2/tests/checking/inlining/lambda5.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,7 +1,7 @@ | ||
|
||
Diagnostics: | ||
error: Functions may not return function-typed values, but function `M::macro_result_lambda_not_allowed` return type is `|u64|`: | ||
┌─ tests/checking/inlining/lambda5.move:86:23 | ||
error: Functions may not return function-typed values, but function `M::macro_result_lambda_not_allowed` return type is the function type `|u64|`: | ||
┌─ tests/checking/inlining/lambda5.move:86:58 | ||
│ | ||
86 │ public inline fun macro_result_lambda_not_allowed(): |u64| { // expected lambda not allowed | ||
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
│ ^^^^^ |
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
Oops, something went wrong.