Bug 40321

Summary: Code assist doesn't propose types
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dirk Baeumer CLA 2003-07-17 07:02:33 EDT
I20030716

- create workspace
- load JUnit
- create project Test and put JUnit on its build path
- create class A in default package

public class A {
	void bar() {
		int[] a= new int[] { 
			10, 20
		};
		String s= "\"{" +
			"\"}";   
			
		class X {
			
		}
		switch (10) {
			case 1: {
				bar();
			}
			case 2:
			
		}
		if (true)
			bar();
			
		Test<code assist>
	}
	
	public void foo() {
		if (true) {
			
		}
	}
}

- open code assist at position <code assist>

observe: only proposal is testMethod. All types Test* are missing
Comment 1 David Audel CLA 2004-05-10 07:44:43 EDT
I can reproduce the problem in I20030616
I cannot reproduce the problem in I20040506

Seems to be fixed

Closed.