Bug 80970 - [1.5] Recovery inside enum types should be improved
Summary: [1.5] Recovery inside enum types should be improved
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 13:49 EST by Olivier Thomann CLA
Modified: 2009-08-30 02:16 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 Olivier Thomann CLA 2004-12-14 13:49:35 EST
Based on bug 80960, take the test case.
Suit is not closed and therefore the recovery is used to retrieve the
compilation unit contents. All following declarations are considered to be
inside the enum type.
I believe the current enum type should be closed as soon as another declaration
is found that is not an enum constant or ';'. A semi-colon is required to
separate the enum constants from the remaining declarations inside an enum type.
Comment 1 Philipe Mulet CLA 2005-04-07 09:44:22 EDT
Deferring post 3.1
Comment 2 Denis Roy CLA 2009-08-30 02:16:03 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.