lua-users home
lua-l archive

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


On Nov 10, 2011, at 6:20 PM, Peter Cawley wrote:

> It is also impossible to write setfenv in 5.2 in such a way as to work
> with bytecode chunks whose debug information has been stripped.

Why? _ENV is always the first upvalue, no? No need to look it up by name, no? Its position will suffice, no?