lua-users home
lua-l archive

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

> But... now I'm a bit confused by what you consider a, err,  'global'? 

Yes, I think Lua 5.2 now blurs the distinction between free variables
and fields in _ENV. Once it applies the transformation x -> _ENV.x,
there is no way by looking at the generated code to know that x was
once free.

Thus, being practical, "global" must mean a field of _ENV, not a free name.