Bug 185318 - [assist] No proposals when completing inside a method import
Summary: [assist] No proposals when completing inside a method import
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 07:29 EDT by David Audel CLA
Modified: 2007-08-03 08:28 EDT (History)
0 users

See Also:


Attachments
Project that reproduce the problem (2.68 KB, application/octet-stream)
2007-05-03 07:30 EDT, David Audel CLA
no flags Details
Proposed fix (20.54 KB, patch)
2007-05-14 09:01 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2007-05-03 07:29:28 EDT
build I20070503-0010

import static q.Y.fo|; // complete at |
public class Test {
	void bar(){
		
	}
}

If 'Y' is a binary type and the return type of Y#foo1 is missing then there no proposals.
Comment 1 David Audel CLA 2007-05-03 07:30:18 EDT
Created attachment 65748 [details]
Project that reproduce the problem
Comment 2 David Audel CLA 2007-05-03 09:22:43 EDT
The same problem exists for field imports
Comment 3 David Audel CLA 2007-05-14 09:01:06 EDT
Created attachment 67042 [details]
Proposed fix
Comment 4 David Audel CLA 2007-06-27 05:43:05 EDT
Released for 3.4M1.

Tests added:
  CompletionTests1_5#test0330 -> test0333()
  ResolveTests1_5#test0107 -> test0110()
Comment 5 Frederic Fusier CLA 2007-08-03 08:28:03 EDT
Verified for 3.4M1 using build I20070802-0800.