groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Schumacher <pascalschumac...@gmx.net>
Subject Re: final local variable (similar to val/immutable)
Date Thu, 21 May 2015 18:31:57 GMT
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