An API I’m using has a method with two overloads. One takes Runnable
, the other takes Consumer<Task>
. If I provide a bare lambda, with no arrows, it errors saying it doesn’t know which to use. However, if I add an arrow after the open brace, it gives me a notice that the arrow is useless and can be removed, with an alt+enter action to remove it, which goes back to being errored. The only thing that stays quiet is making a variable for the Task
.
For bug reports you should use the issue tracker here.