Files

16 lines
325 B
Java

import java.util.Collection;
import java.util.List;
class Testsss {
public <TA, CA extends Iterable<TA>> void that(Iterable<TA> target) {}
public <T, C extends Collection<T>> void that(Collection<T> target) {}
void foo(ImmutableList<String> l) {
that( l);
}
interface ImmutableList<T> extends List<T> {}
}