new inference: resolve

This commit is contained in:
Anna Kozlova
2014-02-17 15:19:57 +01:00
parent 694432f156
commit 19ba9d8c8d
19 changed files with 258 additions and 241 deletions

View File

@@ -21,7 +21,7 @@ class NoInferenceResult {
m((String s1) -> s1.length());
m((String s1) -> s1);
m1<error descr="'m1(T)' in 'NoInferenceResult' cannot be applied to '(<lambda expression>)'">(() -> { })</error>;
m1(<error descr="Target type of a lambda conversion must be an interface">() -> { }</error>);
Foo<String> foo = new Foo<String>();
foo.map(v -> null);