mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[functional expressions search] check method equality when applicable (IDEA-276298)
otherwise unrelated lambdas/method references may land in results when intermediate inheritors contain default methods GitOrigin-RevId: aa5baae37ff676ca477ca41d82b782c42d5fda6c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d43848c086
commit
f33a1f5426
+14
@@ -0,0 +1,14 @@
|
||||
class Clazz {
|
||||
public static void main(String[] args) {
|
||||
Child child = x -> System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
interface I {
|
||||
void execute(int i);
|
||||
}
|
||||
|
||||
interface Child extends I {
|
||||
default void execute(int i) {}
|
||||
void f(int i);
|
||||
}
|
||||
Reference in New Issue
Block a user