lua-users home
lua-l archive

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


On 23 May 2010 14:41, Stuart P. Bentley <stuart@testtrack4.com> wrote:
> Also, don't all functions still have an _ENV upvalue? (Unless all upvalues
> can be from higher lexical scopes.)

Functions which never reference _ENV (i.e. do not use any globals)
probably won't have it as an upvalue.

    henk