Bug 138938 - [content assist] duplicated variable proposal
Summary: [content assist] duplicated variable proposal
Status: VERIFIED DUPLICATE of bug 132139
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 10:46 EDT by Martin Aeschlimann CLA
Modified: 2007-08-03 06:58 EDT (History)
0 users

See Also:


Attachments
screenshot (3.28 KB, image/png)
2006-04-27 10:47 EDT, Martin Aeschlimann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2006-04-27 10:46:49 EDT
20060427

Do a code assist after 'newType' (before the '='):
  - you get 2 proposals that are the same

package test;
public class E {
	public void get() {
		TypeParameter newType= newTypeParameter();
	}
	
	class TypeParameter {}
	private TypeParameter newTypeParameter() {
		return null;
	}
}
Comment 1 Martin Aeschlimann CLA 2006-04-27 10:47:48 EDT
Created attachment 39669 [details]
screenshot
Comment 2 David Audel CLA 2006-04-27 10:51:04 EDT

*** This bug has been marked as a duplicate of 132139 ***
Comment 3 Frederic Fusier CLA 2007-08-03 06:58:55 EDT
Verified for 3.4M1 using build I20070802-0800.