blob: abf7228a090410825b0338159ac324b958f54b7b [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("", (Str<caret>ing i) -> "");
}
}