mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
test data for IDEA-72912
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import java.util.*;
|
||||
|
||||
public class Test<T>
|
||||
{
|
||||
List<Collection<T>> getList ()
|
||||
{
|
||||
return new ArrayList<Collection<T>> ();
|
||||
}
|
||||
|
||||
public void test1 (Test<T> arg)
|
||||
{
|
||||
List<Collection<T>> result = arg.getList ();
|
||||
result.add <error descr="'add(java.util.Collection<T>)' in 'java.util.List' cannot be applied to '(java.util.HashMap<java.lang.Integer,java.lang.Integer>)'">(new HashMap<Integer, Integer> ())</error>;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user