mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +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
@@ -16,7 +16,7 @@ class Test {
|
||||
|
||||
class Test1 {
|
||||
{
|
||||
Runnable b = Test1 :: <error descr="Cannot resolve method 'length'">length</error>;
|
||||
Runnable b = Test1 :: <error descr="Reference to 'length' is ambiguous, both 'length(String)' and 'length(Integer)' match">length</error>;
|
||||
Comparable<String> c = Test1 :: length;
|
||||
Comparable<Integer> c1 = Test1 :: length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user