mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
IDEA-124271
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
|
||||
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>) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user