mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 07:20:55 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 7b48c7780fb6990f01272e733ac54db93c43f5d4
20 lines
452 B
Java
20 lines
452 B
Java
|
|
class A {
|
|
A(String... i) {}
|
|
A(Integer... i) {}
|
|
}
|
|
class B extends A {
|
|
<error descr="Ambiguous implicit constructor call: both 'A.A(String...)' and 'A.A(Integer...)' match">public B()</error> {}
|
|
}
|
|
<error descr="Ambiguous implicit constructor call: both 'A.A(String...)' and 'A.A(Integer...)' match">class C extends A</error> {}
|
|
|
|
class A1 {
|
|
A1(String... i){}
|
|
A1(Object... i){}
|
|
}
|
|
class B1 extends A1 {
|
|
public B1() {}
|
|
}
|
|
class C1 extends A1 {}
|
|
|