revert additional applicability checks due to captures inside subst

This commit is contained in:
Anna.Kozlova
2017-02-15 13:35:25 +01:00
parent 1ae9e3d2e5
commit e0afb738e7
3 changed files with 6 additions and 20 deletions

View File

@@ -9,6 +9,6 @@ class Calls {
void foo(Function<String, Optional> computable) {}
{
((x) -> a(b(c<error descr="'c(C)' in 'Calls' cannot be applied to '(<lambda parameter>)'">(x)</error>)));
<error descr="Not a statement">((x) -> a(b(c(x))));</error>
}
}