[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: David Given <dg@...>
- Date: Mon, 25 Feb 2008 16:02:18 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Javier Guerra wrote:
[...]
> ok, so what should be the outcome of that error?
>
> - skip declaration/initialization?
> - skip loop test?
> - crash and burn?
Actually, my gut feeling is that the 'local' should actually happen
retroactively from the beginning of the chunk --- so jumping over the
'local' statement simply gives you an uninitialised variable, i.e. nil.
I'm not sure that the implementation would allow this, of course.
- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "Wizards get cranky, / Dark days dawn, / Riders smell manky, / The
│ road goes on. / Omens are lowering, / Elves go West; / The Shire needs
│ scouring, / You may as well quest." - John M. Ford
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHwuaKf9E0noFvlzgRApuPAJ4wC0tYHASq/xFM2YZ3E4W9A+HFQgCgoyt2
Ud5A+Zk7303Dqn+991Kaycw=
=mb5c
-----END PGP SIGNATURE-----
- 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], Hugo Etchegoyen
- Re: upcoming changes in Lua 5.2 [was Re: Location of a package], Javier Guerra