lua-users home
lua-l archive

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


> On 30/11/2013 17:15, Andrew Starks wrote:
> > _ENV is the first upvalue of every scope ...
> 
> This is not true.  Not every function has an _ENV, and when it is
> present it is not always the first upvalue.

What is true is that _ENV is the first upvalue of every chunk.