mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
advHighlighting -> light test case
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package pck;
|
||||
import static pck.D.foo;
|
||||
import static pck.C.foo;
|
||||
|
||||
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>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user