[ 
https://issues.apache.org/jira/browse/GROOVY-9041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553010#comment-17553010
 ] 

Daniel Sun commented on GROOVY-9041:
------------------------------------

In fact, I will never write code like {{String::length('123')}}, but 
constructor reference {{String::new('123')}} may be nice to use.

See also "Ruby-style":
https://docs.groovy-lang.org/latest/html/api/groovy/lang/Newify.html

> Support native method reference and constructor reference (advanced cases)
> --------------------------------------------------------------------------
>
>                 Key: GROOVY-9041
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9041
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Priority: Major
>
> ||SUB TASK||PRIORITY||COMMENTS||COMPLETED||
> |CALLABLE|MIDDLE|N/A|TODO|



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to