blob: 853b02ada009f5188c2615b3ecff13fa5373991c [file] [log] [blame]
class Test {
static class Foo<X> {
X m() { return null;}
}
interface I {
Foo<Object> _i(Foo<String> fs);
}
static void foo(I i) { }
{
foo(<error descr="Bad return type in method reference: cannot convert java.lang.String to Test.Foo<java.lang.Object>">Foo::m</error>);
}
}