Bug 85379

Summary: [1.5][select][enum] Code resolve on enum in switch
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: philippe_mulet
Version: 3.1   
Target Milestone: 3.1 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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