mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
method references: highlight separately non-instantiated classes, not resolved methods (IDEA-123279)
This commit is contained in:
@@ -5,7 +5,7 @@ class ThreadExample {
|
||||
}
|
||||
{
|
||||
A a = new A();
|
||||
<error descr="Incompatible types. Found: '<method reference>', required: 'ThreadExample.Function<? super ThreadExample.A,? extends java.lang.String>'">Function<? super A,? extends String> foo = a::foo;</error>
|
||||
Function<? super A,? extends String> foo = a::<error descr="Cannot resolve method 'foo'">foo</error>;
|
||||
}
|
||||
|
||||
static class A {
|
||||
|
||||
Reference in New Issue
Block a user