[
https://issues.apache.org/jira/browse/GROOVY-11669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles updated GROOVY-11669:
---------------------------------
Description:
>From the mailing list:
{code:groovy}
@CompileStatic test() {
[""].stream().map(String::cast) // cast is a Class method
}
test()
{code}
was:
>From the mailing list:
{code:groovy}
@compileStatic test() {
[""].stream().map(String::cast) // cast is a Class method
}
test()
{code}
> 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:
> {code:groovy}
> @CompileStatic test() {
> [""].stream().map(String::cast) // cast is a Class method
> }
> test()
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)