groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MG <mg...@arscreat.com>
Subject Re: [VOTE] Polish the generics type syntax for closure
Date Sat, 16 Feb 2019 19:05:41 GMT
Added alternative suggestion to use

Closure<R1;R2(X);R3(Y,Z)>


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

Cheers,
mg

On 16/02/2019 18:03, Daniel.Sun wrote:
> Hi mg,
>
>> I totally understand that you want to move this along, however I have just
>> added a comment, suggesting an alternative, more concise syntax, which I
>> believe would be worth considering:
> Thanks for your suggestion :-)
> As | is reserved for Union Type, I'd be inclined to use ; instead of |
>
> P.S. I replied you in JIRA just now (
> https://issues.apache.org/jira/browse/GROOVY-8992?focusedCommentId=16770141&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16770141
> )
>
> Cheers,
> Daniel.Sun
>
>
>
> -----
> Apache Groovy committer
> Blog: http://blog.sunlan.me
> Twitter: @daniel_sun
>
> --
> Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
>


Mime
View raw message