lua-users home
lua-l archive

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

I don't think think he meant to change the lexical bindings, just when they are initialized to nil. Eg, so that a continue would -always- cause a nil value runtime error, and not access some undefined value.

- Alex

----- Original Message ----- From: "Luiz Henrique de Figueiredo" <>
To: "Lua list" <>
Sent: Tuesday, February 26, 2008 2:56 AM
Subject: Re: upcoming changes in Lua 5.2 [was Re: Location of a package]

if locals are pushed on the stack the moment they are declared

Wouldn't that break idioms such as
local math = math