-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GROOVY-9306: accept trailing comma for constants-only
enum
declaration
`enum E1 {}` `enum E2 {A}` `enum E3 {A,}` `enum E4 {A,B,}` `enum E5 {A,B;}` `enum E6 {A,B,;}` `enum E7 {A,B,;char c}` `enum E8 {A,B\nchar c}` but not: `enum E9 { A, B,\ndef x;}`
- Loading branch information
1 parent
d5760cf
commit 65506f4
Showing
13 changed files
with
582 additions
and
685 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
Oops, something went wrong.