mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 12:50:56 +07:00
8 lines
289 B
Java
8 lines
289 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: 'Content', required: 'java.lang.Object'">Content content</error> : container) {}
|
|
}
|
|
} |