[java] expand error message about incompatible lambda expression (IDEA-282399)

GitOrigin-RevId: 39b243021881564fea9e2b359433ab79632697f4
This commit is contained in:
Anna Kozlova
2021-11-15 21:56:00 +01:00
committed by intellij-monorepo-bot
parent 2c5e6f1f84
commit 846afc113d
3 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ class Test5 {
static <T> void bar(I<T> i){}
{
bar(<error descr="Incompatible parameter types in lambda expression">() -> null</error>);
bar(<error descr="Incompatible parameter types in lambda expression: wrong number of parameters: expected 1 but found 0">() -> null</error>);
}
}
class Test6 {