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)
18 lines
355 B
Java
18 lines
355 B
Java
package pck;
|
|
import static pck.D.foo;
|
|
import static pck.C.foo;
|
|
|
|
public class C {
|
|
public static <T extends Comparable<S>, S> void foo(T x){}
|
|
}
|
|
|
|
class D {
|
|
public static <T extends Comparable<?>> void foo(T x){}
|
|
}
|
|
|
|
class B{
|
|
{
|
|
foo<error descr="Ambiguous method call: both 'D.foo(Integer)' and 'C.foo(Integer)' match">(1)</error>;
|
|
}
|
|
}
|