groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Zarate <conta...@nazcasistemas.com>
Subject Re: final local variable (similar to val/immutable)
Date Thu, 21 May 2015 22:36:08 GMT
Hey Pascal,
great news thanks!

are there going to be any special consideration for the CompileStatic mode?

Paco

On Thu, May 21, 2015 at 12:31 PM, Pascal Schumacher <
pascalschumacher@gmx.net> wrote:

> Hi Paco,
>
> support for final local variables will be available in the upcoming 2.5
> version.
>
> https://issues.apache.org/jira/browse/GROOVY-1628
> https://issues.apache.org/jira/browse/GROOVY-4681
>
> -Pascal
>
>
>
>
> Am 21.05.2015 um 20:25 schrieb Paco Zarate:
>
>> How can we define a final immutable local variable on Groovy?
>> I am thinking on something similar to val in Scala
>>
>> I was reading about "final" but couldn't find information on the groovy
>> documentation.
>> Is it just missing in the documentation? or is it still not ready?
>>
>> Paco
>>
>
>

Mime
View raw message