[ 
https://issues.apache.org/jira/browse/GROOVY-10742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles updated GROOVY-10742:
---------------------------------
    Fix Version/s: 3.0.13

> STC permits incorrect void method reference
> -------------------------------------------
>
>                 Key: GROOVY-10742
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10742
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static compilation
>    Affects Versions: 4.0.4
>            Reporter: Christopher Smith
>            Assignee: Eric Milles
>            Priority: Minor
>             Fix For: 4.0.5, 3.0.13
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to