Bug 73561

Summary: AST: Enum constant source range too small
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2004-09-09 11:22:02 EDT
20040909

In the following source, check the AST-node source ranges of the 2 enum constants
The first contains the closing parenthesis, the second doesn't

enum MyEnum { GREEN(0, 1), RED() }
Comment 1 Olivier Thomann CLA 2004-09-09 12:42:33 EDT
I am investigating.
Comment 2 Olivier Thomann CLA 2004-09-09 13:08:29 EDT
Fixed and released in HEAD.
Regression tests added.
Comment 3 David Audel CLA 2004-09-23 12:52:31 EDT
Verified in I200409230100.