lua-users home
lua-l archive

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

> 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.

Even with debug information it seems impossible to write a setfenv in 5.2
that will be fully compatible with 5.1. (There is a nice implementation
around, but it is too complex for several common cases and yet does not
cover some corner cases.)

-- Roberto