mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
functional interfaces: ignore methods with type parameters during abstract method choosing
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
class Test {
|
||||
|
||||
interface A {
|
||||
<X> void m();
|
||||
}
|
||||
|
||||
interface B {
|
||||
void m();
|
||||
}
|
||||
|
||||
interface C extends A, B { }
|
||||
|
||||
{
|
||||
C c = ()-> {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user