Summary: | [1.5][compiler] Useless error message for local enum | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> | ||||
Component: | Core | Assignee: | Kent Johnson <kent_johnson> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.4 | ||||||
Target Milestone: | 3.5 M3 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
David Audel
2008-04-17 07:28:05 EDT
Created attachment 112454 [details]
Proposed patch with testcase
Removed the check in ClassScope that checked anonymous enum types since it was redundant
Extended EnumTest test003 with an anonymous type for an enum constant
Other existing tests show that errors for local enum types are reported correctly
Fix and test released for 3.5M3 Verified for 3.5M3 using I20081026-2000 build. |