Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0.4
-
None
Description
In a functional pipeline, I mistakenly used map(service::voidMethod) (where the map operation expects Function). This should have produced a compile-time error but instead produced a runtime error out of the LambdaMetafactory.
Attachments
Issue Links
- relates to
-
GROOVY-10858 STC method reference return type checking
- Closed