Summary: | Bad error message for static block inside an interface | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Mohsen Saboorian <mohsens> | ||||
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | amj87.iitr, jerome_lanneluc, philippe_mulet, srikanth_sankaran | ||||
Version: | 3.3 | ||||||
Target Milestone: | 3.7 M1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Mohsen Saboorian
2007-12-12 01:13:27 EST
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. |