Bug 7930

Summary: Code Assist - No completion in switch statement
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description David Audel CLA 2002-01-21 08:56:02 EST
1) create the following class
public class A {
	final static int ZZZ = 1;
	public void foo() {
		switch (2) {
			case 0 + ZZZ :
			case 1 + ZZZ :
				bar(ZZZ<cursor>);
		}
	}
	
	void bar(int y) {}
}
2) do ctrl+space at cursor location

no proposal
Comment 1 David Audel CLA 2002-03-08 05:22:52 EST
ZZZ is considered as a label in switch statement 

Fixed