Java higher-order methods inconsistently require type annotations #11558
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
has PR
infer
java interop
should compile
usability
Milestone
This works:
But then, you'd think that this should work:
It can be made to work only by including the map type param:
This would hopefully work because it does actually work in java:
The text was updated successfully, but these errors were encountered: