ensure assignability for standalone expressions during applicability check (IDEA-159086)

This commit is contained in:
Anna.Kozlova
2017-02-13 18:01:21 +01:00
parent d720d1fd0d
commit 770bd344ea
4 changed files with 41 additions and 5 deletions

View File

@@ -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>)));
}
}