mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: better error message when there are more arguments than parameters (IDEA-336129)
GitOrigin-RevId: a17a5f0f3878b9baf211737a614d1aa1a5103d31
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ed3ae46a60
commit
6916b6b005
+1
-1
@@ -3,7 +3,7 @@ import java.util.function.UnaryOperator;
|
||||
|
||||
class Test<T> {
|
||||
private void example() {
|
||||
update(x -> x.flatMap<error descr="'flatMap()' in 'Test' cannot be applied to '(<lambda expression>)'">(y -> getEmpty())</error>);
|
||||
update(x -> x.flatMap<error descr="Expected no arguments but found 1">(y -> getEmpty())</error>);
|
||||
}
|
||||
|
||||
private <J> Test<J> flatMap() {
|
||||
|
||||
Reference in New Issue
Block a user