mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
functional expressions: allow to delete/change signature of default methods of functional interfaces
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
interface SAM {
|
||||
default void <caret>foo(){}
|
||||
void bar();
|
||||
}
|
||||
|
||||
class Test {
|
||||
{
|
||||
bar(() -> {});
|
||||
}
|
||||
|
||||
void bar(SAM sam){}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
interface SAM {
|
||||
default void foo(boolean b){}
|
||||
void bar();
|
||||
}
|
||||
|
||||
class Test {
|
||||
{
|
||||
bar(() -> {});
|
||||
}
|
||||
|
||||
void bar(SAM sam){}
|
||||
}
|
||||
Reference in New Issue
Block a user