mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
new inference: check also variable instantiation for primitive wrappers (IDEA-127752)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class Test {
|
||||
static class TKey<T> {
|
||||
}
|
||||
|
||||
public interface Getter {
|
||||
<T> T getValue(TKey<T> key);
|
||||
}
|
||||
|
||||
static final TKey<Integer> KEY_I = null;
|
||||
|
||||
|
||||
public static void f(Getter getter, TKey<Integer> key) {
|
||||
double d1 = getter.getValue (key);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user