Funny error from IntelliJ

I get a really funny error from IntelliJ, haven’t debugged it yet.

Screenshot 2020-02-20 at 11.55.29

The error from the scala compiler is more informative.

IntelliJ doesn’t really display the error in a usefull way, but when you look at the actual error message, you see that you use a Tuple2, instead of two parameters.
((A, B)) => C instead of (A, B) => C

1 Like

Exactly. Looking at the compiler message is much more helpful than the IntelliJ message. Presumably, IntelliJ tried unsuccessfully to remove useless parens.