new inference: 18.5.2 adjustments

This commit is contained in:
Anna Kozlova
2014-02-18 19:19:49 +01:00
parent 61039804a9
commit bd681beb26
34 changed files with 125 additions and 91 deletions

View File

@@ -13,7 +13,7 @@ class Foo<R> {
public void foo() {
reduce(Moo::new);
reduce(<error descr="Cyclic inference">AMoo::new</error>);
<error descr="Inferred type 'Foo<R>.AMoo' for type parameter 'S' is not within its bound; should implement 'Foo.ASink<java.lang.Object,Foo<R>.AMoo>'">reduce(AMoo::new)</error>;
reduce(AAMoo::new);
reduce(AAAMoo::new);
}