Bug 85379 - [1.5][select][enum] Code resolve on enum in switch
Summary: [1.5][select][enum] Code resolve on enum in switch
Status: VERIFIED FIXED
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: 3.1 M6   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 88294 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-16 05:42 EST by Martin Aeschlimann CLA
Modified: 2005-03-30 14:47 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2005-02-16 05:42:04 EST
20050216

code resolve on the enum contants 'A' in the switch statement does not work

public enum MyEnum {
	A;
}

class B {
	private void foo(MyEnum e) {
		switch (e) {
 		   case A:
		   break;
		}
		
	}
}
Comment 1 Philipe Mulet CLA 2005-03-17 03:42:33 EST
*** Bug 88294 has been marked as a duplicate of this bug. ***
Comment 2 David Audel CLA 2005-03-18 07:42:01 EST
Fixed and test addes
  EnumSelectionTests#test0001()
  ResolveTests_1_5#test0093()
Comment 3 Olivier Thomann CLA 2005-03-30 14:47:35 EST
Verified in I20050330-0500