Bug 73561 - AST: Enum constant source range too small
Summary: AST: Enum constant source range too small
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-09 11:22 EDT by Martin Aeschlimann CLA
Modified: 2004-09-23 12:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.