Skip to content

Commit

Permalink
[WIP] fix tests after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: David Thompson <[email protected]>
  • Loading branch information
datho7561 committed Jan 29, 2024
1 parent 5a87d04 commit 8f9bd0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ public void testBug574563_004() {
3. ERROR in X.java (at line 4)
case null, Integer i when i > 10 -> System.out.println(0);
^^^^^
Syntax error on tokens, TypeElidedFormalParameter expected instead
Syntax error on tokens, TypeElidedUnnamedFormalParameter expected instead
----------
4. ERROR in X.java (at line 4)
case null, Integer i when i > 10 -> System.out.println(0);
Expand Down Expand Up @@ -2270,7 +2270,7 @@ public void testBug574563_005() {
3. ERROR in X.java (at line 4)
case Integer i when i > 10, null -> System.out.println(0);
^^^^^^^^
Syntax error on tokens, TypeElidedFormalParameter expected instead
Syntax error on tokens, TypeElidedUnnamedFormalParameter expected instead
----------
4. ERROR in X.java (at line 4)
case Integer i when i > 10, null -> System.out.println(0);
Expand Down Expand Up @@ -6666,7 +6666,7 @@ public void testIssue1351_7() {
3. ERROR in X.java (at line 5)
case Byte p when p.equals(exp), (byte) 0 -> {
^^^^
Syntax error on tokens, TypeElidedFormalParameter expected instead
Syntax error on tokens, TypeElidedUnnamedFormalParameter expected instead
----------
4. ERROR in X.java (at line 8)
}
Expand Down Expand Up @@ -6807,7 +6807,7 @@ public void testIssue1351_10() {
3. ERROR in X.java (at line 5)
case Byte p when p.equals(exp), null -> {
^^^^^^^
Syntax error on tokens, TypeElidedFormalParameter expected instead
Syntax error on tokens, TypeElidedUnnamedFormalParameter expected instead
----------
4. ERROR in X.java (at line 8)
}
Expand Down Expand Up @@ -6853,7 +6853,7 @@ public void testIssue1351_11() {
3. ERROR in X.java (at line 5)
case Byte p when p.equals(exp), default -> {
^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, TypeElidedFormalParameter expected instead
Syntax error on tokens, TypeElidedUnnamedFormalParameter expected instead
----------
4. ERROR in X.java (at line 8)
}
Expand Down
1 change: 1 addition & 0 deletions org.eclipse.jdt.core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jdtCompilerAdapter.jar

0 comments on commit 8f9bd0a

Please sign in to comment.