Bug 7930 - Code Assist - No completion in switch statement
Summary: Code Assist - No completion in switch statement
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-21 08:56 EST by David Audel CLA
Modified: 2002-03-08 06:03 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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