[
https://issues.apache.org/jira/browse/GROOVY-11669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles resolved GROOVY-11669.
----------------------------------
Fix Version/s: 5.0.0-beta-1
Resolution: Fixed
> SC: class method reference
> --------------------------
>
> Key: GROOVY-11669
> URL: https://issues.apache.org/jira/browse/GROOVY-11669
> Project: Groovy
> Issue Type: Improvement
> Components: class generator, Static compilation
> Reporter: Eric Milles
> Assignee: Eric Milles
> Priority: Major
> Fix For: 5.0.0-beta-1
>
>
> From the mailing list
> (https://lists.apache.org/thread/0rc15rzpn25ykfjz9669wdfxv2mj5n6g):
> {code:groovy}
> @CompileStatic
> void test() {
> [""].stream().map(String::cast) // cast is a Class method
> }
> test()
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)