Files
2012-10-23 21:08:39 +02:00

10 lines
291 B
Java

interface IA {
<T> void a(Iterable<String> x);
}
interface IB {
<T> void a(Iterable x);
}
<error descr="'a(Iterable)' in 'IB' clashes with 'a(Iterable<String>)' in 'IA'; both methods have same erasure, yet neither overrides the other">abstract class C implements IA, IB</error> {}