mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +07:00
12 lines
446 B
Java
12 lines
446 B
Java
class Test {
|
|
interface I { Object in<EOLError descr="';' expected"></EOLError>
|
|
<error descr="Invalid method declaration; return type required">voke</error>(); }
|
|
interface IStr { String foo(); }
|
|
|
|
public static void call(IStr str) {}
|
|
public static void call(I i) { }
|
|
|
|
public static void main(String[] args) {
|
|
<error descr="Ambiguous method call: both 'Test.call(IStr)' and 'Test.call(I)' match">call</error>(()-> null);
|
|
}
|
|
} |