blob: e1b619590a184f20ae9dfbc3226dfe307bcc3292 [file] [log] [blame]
// "Remove redundant types" "true"
class Test2 {
class Y<T>{
T t;
}
interface I<X> {
X foo(Y<X> list);
}
static <T> I<T> bar(I<T> i){return i;}
{
Test2.<String>bar(y -> y.t);
}
}