lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Op So. 23 Jun. 2019 om 21:42 het Roberto Ierusalimschy
<roberto@inf.puc-rio.br> geskryf:
> > > > The generic for loop in 5.4 takes 4 values, not 3, and the 4th one is
> > > > treated as being assigned to a toclose variable.
> > >
> > > Oh, I missed that in the change notes.
> >
> > You missed it because it is not there. Only the numerical for loop
> > gets attention.
>
> It is the second item in the list of changes, right after the
> generational GC: "to-be-closed variables".
>
> The list never breaks down the details of each particular change.
> For instance, in the list of changes of 5.3 we did not include
> "floor division", "math.tointeger", and several other consequences
> of the change "integers".

For the sake those who even now can't find it: don't look in the
"Incompatibilities with the previous version" section of the manual,
but in the file

lua-5.4.0-alpha/doc/readme.html

-- DIrk