mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
ensure assignability for standalone expressions during applicability check (IDEA-159086)
This commit is contained in:
@@ -9,6 +9,6 @@ class Calls {
|
||||
void foo(Function<String, Optional> computable) {}
|
||||
|
||||
{
|
||||
<error descr="Not a statement">((x) -> a(b(c(x))));</error>
|
||||
((x) -> a(b(c<error descr="'c(C)' in 'Calls' cannot be applied to '(<lambda parameter>)'">(x)</error>)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user