mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
old inference: ignore java 1.6 bug in new versions (IDEA-125744)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
class A {}
|
||||
interface B {}
|
||||
|
||||
class MyTest {
|
||||
public <M extends A & B> M getInvokedMember() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class Bar {
|
||||
void f(MyTest myTest) {
|
||||
B member = myTest.getInvokedMember();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user