mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
inference: skip unchecked warning for types based on inference variables (IDEA-151761)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import java.util.List;
|
||||
|
||||
class Test {
|
||||
void m(Class<List> clazz){
|
||||
List<Object[]> data = foo(clazz);
|
||||
}
|
||||
|
||||
public static <T> T foo(Class<? super T> clazz) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user