mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-05 06:01:30 +07:00
method refs: filter more specific
This commit is contained in:
@@ -54,7 +54,7 @@ class MyTest2 {
|
||||
static void call(Integer i, I s) { }
|
||||
|
||||
static void test() {
|
||||
call<error descr="Cannot resolve method 'call(int, <method reference>)'">(1, MyTest2::m)</error>; //ambiguous
|
||||
call<error descr="Ambiguous method call: both 'MyTest2.call(int, I)' and 'MyTest2.call(Integer, I)' match">(1, MyTest2::m)</error>; //ambiguous
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user