mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-18 07:15:51 +07:00
(IDEA-67832; IDEA-67837; IDEA-67573; IDEA-57306; IDEA-57535; IDEA-57269; IDEA-57278; IDEA-57317)
13 lines
303 B
Java
13 lines
303 B
Java
package pck;
|
|
|
|
interface I{
|
|
<T extends Iterable<String> & Cloneable> void foo();
|
|
}
|
|
|
|
abstract class A {
|
|
abstract <T extends Iterable<String>> void foo();
|
|
<T extends A & I> void bar(T x){
|
|
x.foo<error descr="Ambiguous method call: both 'A.foo()' and 'I.foo()' match">()</error>;
|
|
}
|
|
}
|