blob: 0b4c56a12d9c60f3bd88360fd852a49f6d557ef4 [file] [log] [blame]
// "Remove redundant types" "true"
class ReturnTypeCompatibility {
interface I1<L> {
L m(L x);
}
static <P> void call(P p, I1<P> i2) {
i2.m(null);
}
public static void main(String[] args) {
call("", i -> "");
}
}