mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
testdata for IDEA-109875
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import java.util.Collections;
|
||||
import java.util.Set;
|
||||
|
||||
public class Test<Y> {
|
||||
|
||||
public static <K> Test<K> doTest(K k){
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
Test.<Set<String>>doTest<error descr="'doTest(java.util.Set<java.lang.String>)' in 'Test' cannot be applied to '(java.util.Set<java.lang.Object>)'">(Collections.emptySet())</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user