immutables
Arguments (non-ref) and for loop iterators can no longer be assigned to, this reduces the overhead of lifting (reference argument is not necessary), and it is also a common source of errors (e.g. when forgetting “this.” and assigning to argument in a setter method). Assigning to such variables will show an error:
“Assignment to this variable is not allowed.”
Submitted by Danny Groenewegen on 4 January 2011 at 12:51
Issue Log
On 4 January 2011 at 12:51 Danny Groenewegen tagged 1.2.6
On 4 January 2011 at 12:52 Danny Groenewegen closed this issue.
Log in to post comments