lua-users home
lua-l archive

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

On Wed, Mar 31, 2010 at 5:43 PM, Jonathan Castello <> wrote:
> On Wed, Mar 31, 2010 at 5:15 AM, Roberto Ierusalimschy
> <> wrote:
>> BTW, note that setfenv/getfenv are not moving to the debug library, but
>> out of the language, as functions will not have environments anymore.
> I was under the impression that we would still have debug.setfenv and
> debug.getfenv to fill the same purpose? Now I'm hearing that functions
> won't have environments in the language at all?
> ~Jonathan

Yes, exactly. See Roberto's thread "a new proposal from environments":

"...Lua functions do not have environments any more."