mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
method references: don't swallow errors during method ref inference (IDEA-179706)
This commit is contained in:
@@ -2,7 +2,7 @@ class Test {
|
||||
{
|
||||
Runnable b = Test :: <error descr="Cannot resolve method 'length'">length</error>;
|
||||
Comparable<String> c = Test :: length;
|
||||
Comparable<Integer> c1 = Test :: <error descr="Cannot resolve method 'length'">length</error>;
|
||||
Comparable<Integer> c1 = Test :: <error descr="Incompatible types: Integer is not convertible to String">length</error>;
|
||||
}
|
||||
|
||||
public static Integer length(String s) {
|
||||
|
||||
Reference in New Issue
Block a user