mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
lambda: infer lambda param types in method call, return statement context
This commit is contained in:
@@ -15,7 +15,7 @@ class Foo {
|
||||
|
||||
void bar() {
|
||||
foo<error descr="Ambiguous method call: both 'Foo.foo(I)' and 'Foo.foo(K)' match">((p) -> {
|
||||
System.out.println(p);
|
||||
System.out.println<error descr="Cannot resolve method 'println(<lambda parameter>)'">(p)</error>;
|
||||
})</error>;
|
||||
|
||||
foo((p, k) -> {
|
||||
|
||||
Reference in New Issue
Block a user