mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 21:30:56 +07:00
9 lines
290 B
Java
9 lines
290 B
Java
|
|
interface Container<T extends Content> extends Iterable<T> {}
|
|
interface Content {}
|
|
|
|
class Main {
|
|
public static void doSomething(Container container) {
|
|
for (<error descr="Incompatible types. Found: 'java.lang.Object', required: 'Content'">Content content : container</error>) {}
|
|
}
|
|
} |