Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321688 - [content assist] Content assist duplicates parameter
Summary: [content assist] Content assist duplicates parameter
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 05:40 EDT by Johannes Rieken CLA
Modified: 2018-12-09 13:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Rieken CLA 2010-08-04 05:40:18 EDT
Build Identifier: 3.6

use this CU


public class CU {
	
	interface A {
		void m();
	}
	
	void m(A a, int b) {
		
	}
	
	void m2() {
		
	}
}

Reproducible: Always

Steps to Reproduce:
* In method m2, type 'm'  and invoke content assist - will be completed to m(a, b)
* select 'a' and type 'new,  invoke content assist, select new CU.A()...
 > the code is messed up - the parameter-placeholder for b is duplicated, there is misplaced miscolon

void m2() {
		m(new A() {
			
			public void m() {
				// TODO Auto-generated method stub
				
			}
		};, b, b)
	}
Comment 1 Dani Megert CLA 2010-08-04 05:57:58 EDT
Broken since 3.5.
Comment 2 Eclipse Genie CLA 2018-12-09 13:00:21 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.