History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-8756
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Peter Gromov
Reporter: Gibson
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Code completion proposes erased signatures

Created: 28 Jun 06 19:02   Updated: 08 Oct 08 08:52
Component/s: Editor. Code Completion
Fix Version/s: Diana 8890

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 5,350
Fixed in build: 8,877
Severity: Medium


 Description  « Hide
In the example below, placing the cursor at collection.ad| and hitting Ctrl-Space proposes add(Object) or add(Collection). It should propose add(String) or add (Collection<? extends String>). In fact, it works if the line below is removed (dummy = 0);
package tests;

import java.util.Collection;

public class ErasureTest {
	private Collection<String> collection;
	private int dummy;

	public void test () {
		collection.ad|
		dummy = 0;
	}
}


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.