mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
java error message: explicit method reference ambiguity (IDEA-250654)
GitOrigin-RevId: 1fc5f577f298a7f874a111866a394aa7a6c09cc0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aff9c8468a
commit
34526b2b5c
@@ -7,7 +7,7 @@ class Main {
|
||||
Function<A<String>, String> f1 = A<String>::getName;
|
||||
Function<A<String>, String> f10 = A::getName;
|
||||
Function<B, String> f2 = B::getName;
|
||||
Function<B, String> f3 = b::<error descr="Cannot resolve method 'getName'">getName</error>;
|
||||
Function<B, String> f3 = b::<error descr="Reference to 'getName' is ambiguous, both 'getName()' and 'getName(I)' match">getName</error>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user