-
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
ad600f0
commit 2b0551c
Showing
43 changed files
with
652 additions
and
411 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
15 changes: 9 additions & 6 deletions
15
..._party/move/move-compiler-v2/tests/more-v1/parser/invalid_call_lhs_complex_expression.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,10 +1,13 @@ | ||
|
||
Diagnostics: | ||
error: unexpected token | ||
┌─ tests/more-v1/parser/invalid_call_lhs_complex_expression.move:3:29 | ||
error: expected `|()|_` but found a value of type `integer` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_complex_expression.move:3:9 | ||
│ | ||
3 │ (if (true) 5 else 0)(); | ||
│ ^ | ||
│ │ | ||
│ Unexpected '(' | ||
│ Expected ';' | ||
│ ^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error: expected `|(integer, integer)|_` but found a value of type `()` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_complex_expression.move:4:9 | ||
│ | ||
4 │ (while (false) {})(0, 1); | ||
│ ^^^^^^^^^^^^^^^^^^^^^^^^ |
15 changes: 9 additions & 6 deletions
15
...party/move/move-compiler-v2/tests/more-v1/parser/invalid_call_lhs_complex_expression2.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,10 +1,13 @@ | ||
|
||
Diagnostics: | ||
error: unexpected token | ||
┌─ tests/more-v1/parser/invalid_call_lhs_complex_expression2.move:3:29 | ||
error: expected `|()|_` but found a value of type `integer` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_complex_expression2.move:3:9 | ||
│ | ||
3 │ (if (true) 5 else 0)(); | ||
│ ^ | ||
│ │ | ||
│ Unexpected '(' | ||
│ Expected ';' | ||
│ ^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error: expected `|(integer, integer)|_` but found a value of type `()` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_complex_expression2.move:4:9 | ||
│ | ||
4 │ (while (false) {})(0, 1); | ||
│ ^^^^^^^^^^^^^^^^^^^^^^^^ |
9 changes: 3 additions & 6 deletions
9
..._party/move/move-compiler-v2/tests/more-v1/parser/invalid_call_lhs_parens_around_name.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,10 +1,7 @@ | ||
|
||
Diagnostics: | ||
error: unexpected token | ||
┌─ tests/more-v1/parser/invalid_call_lhs_parens_around_name.move:3:14 | ||
error: undeclared `foo` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_parens_around_name.move:3:10 | ||
│ | ||
3 │ (foo)() | ||
│ ^ | ||
│ │ | ||
│ Unexpected '(' | ||
│ Expected ';' | ||
│ ^^^ |
9 changes: 3 additions & 6 deletions
9
...party/move/move-compiler-v2/tests/more-v1/parser/invalid_call_lhs_parens_around_name2.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,10 +1,7 @@ | ||
|
||
Diagnostics: | ||
error: unexpected token | ||
┌─ tests/more-v1/parser/invalid_call_lhs_parens_around_name2.move:3:14 | ||
error: undeclared `foo` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_parens_around_name2.move:3:10 | ||
│ | ||
3 │ (foo)() | ||
│ ^ | ||
│ │ | ||
│ Unexpected '(' | ||
│ Expected ';' | ||
│ ^^^ |
9 changes: 3 additions & 6 deletions
9
third_party/move/move-compiler-v2/tests/more-v1/parser/invalid_call_lhs_return.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,10 +1,7 @@ | ||
|
||
Diagnostics: | ||
error: unexpected token | ||
┌─ tests/more-v1/parser/invalid_call_lhs_return.move:3:20 | ||
error: Calls to function values other than inline function parameters not yet supported | ||
┌─ tests/more-v1/parser/invalid_call_lhs_return.move:3:9 | ||
│ | ||
3 │ (return ())(0, 1); | ||
│ ^ | ||
│ │ | ||
│ Unexpected '(' | ||
│ Expected ';' | ||
│ ^^^^^^^^^^^ |
9 changes: 3 additions & 6 deletions
9
third_party/move/move-compiler-v2/tests/more-v1/parser/invalid_call_lhs_return2.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,10 +1,7 @@ | ||
|
||
Diagnostics: | ||
error: unexpected token | ||
┌─ tests/more-v1/parser/invalid_call_lhs_return2.move:3:20 | ||
error: Calls to function values other than inline function parameters not yet supported | ||
┌─ tests/more-v1/parser/invalid_call_lhs_return2.move:3:9 | ||
│ | ||
3 │ (return ())(0, 1); | ||
│ ^ | ||
│ │ | ||
│ Unexpected '(' | ||
│ Expected ';' | ||
│ ^^^^^^^^^^^ |
15 changes: 9 additions & 6 deletions
15
third_party/move/move-compiler-v2/tests/more-v1/parser/invalid_call_lhs_value.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,10 +1,13 @@ | ||
|
||
Diagnostics: | ||
error: unexpected token | ||
┌─ tests/more-v1/parser/invalid_call_lhs_value.move:3:10 | ||
error: expected `|()|_` but found a value of type `integer` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_value.move:3:9 | ||
│ | ||
3 │ 5(); | ||
│ ^ | ||
│ │ | ||
│ Unexpected '(' | ||
│ Expected ';' | ||
│ ^^^ | ||
|
||
error: expected `|(integer, integer)|_` but found a value of type `integer` | ||
┌─ tests/more-v1/parser/invalid_call_lhs_value.move:4:9 | ||
│ | ||
4 │ 5(0, 1); | ||
│ ^^^^^^^ |
Oops, something went wrong.