Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/ambiguousIDEA67573/pck/AmbiguousMethodCall.java
T
anna d8748bb076 ambiguous method calls: conflict resolver, tests
(IDEA-67832; IDEA-67837; IDEA-67573; IDEA-57306;
 IDEA-57535; IDEA-57269; IDEA-57278; IDEA-57317)
2012-04-09 11:57:27 +02:00

18 lines
188 B
Java

interface A
{
abstract void foo(String[] ... s);
}
interface B
{
abstract void foo(String[] s);
}
class C<T extends A & B>
{
void bar(T x)
{
x.foo(null);
}
}