Community
Participate
Working Groups
1. create an interface 2. put a static block inside it 3. see the error message: Syntax error, insert "enum Identifier" to complete EnumHeader
Wondering if we shouldn't be more permissive in our grammar and tolerate static initializers early on, so we can reject them later on; without doing fancy recovery on curly braces.
Created attachment 173509 [details] Patch under consideration
All tests pass, Ayush please review, Thanks in advance.
Patch looks good.
Released in HEAD for 3.7 M1
Verified for 3.7M1 using build I20100802-1800.