Summary: | [1.5][DOM] ASTRewriteAnalyzer blows up with local enums | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | martinae |
Version: | 3.1 | ||
Target Milestone: | 3.1 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 81329, 88309 |
Description
Olivier Thomann
2005-03-16 14:18:26 EST
Once this is fixed, the UI should enable again sorting inside enums. Take latest out of HEAD and enable test024 in org.eclipse.jdt.core.tests.model.SortCompilationUnitElementsTests. Then run that test to see the problem. The constants have wrong source ranges: - open in the AST view and drill down to the two constants: they both have a length that goes up to the method bar() Reproduced. I am investigating. Fixed and released in HEAD. Regression test added in ASTConverter15Test.test0150 *** Bug 88220 has been marked as a duplicate of this bug. *** Verified in 20050330-0500 |