groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniil Ovchinnikov <daniil.ovchinni...@jetbrains.com>
Subject Re: [parrot] Command expressions in array initializer
Date Thu, 05 Jul 2018 13:46:38 GMT
Oh wow, I haven’t noticed that.

Main motivation for stopping supporting command expressions in array initializers was that
they are not supported in argument lists.
The fact that they are supported in argument lists in 3.x is a breaking change and should
be considered a bug, because they were not supported in argument lists in < 3.x.

—

Daniil Ovchinnikov
JetBrains


> On 5 Jul 2018, at 16:41, Daniel.Sun <sunlan@apache.org> wrote:
> 
> Good suggestion.
> Besides the array initializer, argument list should be considered to stop
> supporting command expression too.
> 
> 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-Users-f329450.html


Mime
View raw message