[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: upcoming changes in Lua 5.2 [was Re: Location of a package]
- From: "Javier Guerra" <javier@...>
- Date: Mon, 25 Feb 2008 10:54:37 -0500
On 2/25/08, Shmuel Zeigerman <shmuz@actcom.co.il> wrote:
> I think no warnings are needed. As in all other cases, it is the
> programmer's responsibility to take the scope into account. E.g., if the
> code says 'until x > 0', and x is not defined in the enclosing scope,
> it'll result in the run-time error "attempt to compare nil with number'.
that's the problem about an unfortunate addition, this code is valid,
accepted and documented. changing it (to what it was before) means
breaking code and extra warnings in the docs (at the very least).
--
Javier
- References:
- Location of a package, Ignacio Burgueño
- Re: Location of a package, Fabien
- Re: Location of a package, Roberto Ierusalimschy
- Re: Location of a package, eugeny gladkih
- upcoming changes in Lua 5.2 [was Re: Location of a package], Roberto Ierusalimschy
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Shmuel Zeigerman
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Roberto Ierusalimschy
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Shmuel Zeigerman
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Javier Guerra
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Shmuel Zeigerman