Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/mostSpecific/IncompleteMethodInInterface.java
Bas Leijdekkers 38729705c8 Java: don't report uninitialized fields when constructor has incorrect name (IDEA-380080)
GitOrigin-RevId: c83193e8b72f9730e1102220f7a12c35e2722223
2025-10-07 18:33:11 +00:00

12 lines
424 B
Java

class Test {
interface I { Object in<EOLError descr="';' expected"></EOLError>
<error descr="Method return type missing">voke</error>(); }
interface IStr { String foo(); }
public static void call(IStr str) {}
public static void call(I i) { }
public static void main(String[] args) {
call<error descr="Ambiguous method call: both 'Test.call(IStr)' and 'Test.call(I)' match">(()-> null)</error>;
}
}