Bug 97877

Summary: [1.5][comments] enum constant declaration does not include trailing comment
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.3 RC4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Frederic Fusier CLA 2005-06-01 11:11:46 EDT
Using 3.1 RC1.

Consider code snippet:
public enum Test {
	TEST // comment
}

I opened ASTView on it and select EnumConstantDeclaration node: in editor "TEST"
is selected accordingly. Then, I double-click on same node to see its extended
range.
Expected: "TEST // comment" to be selected
Observed: only "TEST" still selected
Comment 1 Frederic Fusier CLA 2005-06-13 04:10:46 EDT
Defer post 3.1
Comment 2 Frederic Fusier CLA 2005-08-05 04:50:54 EDT
Reopen for 3.2
Comment 3 Frederic Fusier CLA 2006-03-30 08:37:05 EST
Defer post 3.2
Comment 4 Frederic Fusier CLA 2007-06-21 09:53:07 EDT
Reopen as LATER is deprecated...
Comment 5 Frederic Fusier CLA 2007-06-21 09:53:46 EDT
It works correctly now using 3.3 RC4...