groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: Constructor call short-hand syntax
Date Tue, 04 Sep 2018 22:06:55 GMT
On Wed, Sep 5, 2018 at 3:24 AM Daniil Ovchinnikov <
daniil.ovchinnikov@jetbrains.com> wrote:

> Same as someObject?.getAt(x:y)
>

That would be the right mapping but we don't have any getAt(Map) support at
the moment - well apart from the ClassConstant constructor short-hand being
discussed..


>
>
> On 4 Sep 2018, at 20:23, Daniel.Sun <sunlan@apache.org> wrote:
>
> OK. I wonder what semantic `somMap?[x:y]` should be @_@
>
> Cheers,
> Daniel.Sun
>
>
>
>
> -----
> 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