[
https://issues.apache.org/jira/browse/GROOVY-11669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952624#comment-17952624
]
ASF GitHub Bot commented on GROOVY-11669:
-----------------------------------------
eric-milles merged PR #2227:
URL: https://github.com/apache/groovy/pull/2227
> 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
>
> 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)