Java: better error message when there are more arguments than parameters (IDEA-336129)

GitOrigin-RevId: a17a5f0f3878b9baf211737a614d1aa1a5103d31
This commit is contained in:
Bas Leijdekkers
2024-06-26 17:30:09 +02:00
committed by intellij-monorepo-bot
parent ed3ae46a60
commit 6916b6b005
22 changed files with 42 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ public class ClassWithJavaConstructor {
public static class B extends A {
public B() {
super<error descr="'A(int, java.lang.String)' in 'ClassWithJavaConstructor.A' cannot be applied to '()'">()</error>;
super<error descr="Expected 2 arguments but found 0">()</error>;
}
public B(int i) {