forked from eclipse-jdt/eclipse.jdt.core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse multiple Patterns in a case statement
Second part of JEP 443. Change the parser so that it can parse a list of Patterns in a case. Change GuardedPattern AST (internal and and API) so that it has a list of patterns as its child instead of just one. Modify some tests that use record patterns with a variable (eg. `MyPoint(int x, int y) p` vs `MyPoint(int x, int y)`), since this syntax was only ever used in the preview version of the feature and is no longer allowed. Signed-off-by: David Thompson <[email protected]>
- Loading branch information
Showing
51 changed files
with
2,192 additions
and
2,373 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.