mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
method references on lambda parameters for incomplete code (EA-66008 - assert: InferenceSession.collectApplicabilityConstraints)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
import java.util.function.Function;
|
||||
class Test {
|
||||
{
|
||||
foo(s -> {
|
||||
foo(s::concat);
|
||||
return s;
|
||||
});
|
||||
}
|
||||
|
||||
<S,<error descr="'>' expected."><error descr="Type parameter expected"> </error></error> void foo(Function<String, String> f){}
|
||||
}
|
||||
Reference in New Issue
Block a user