lua-users home
lua-l archive

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

On 06/10/15 03:05 PM, Tim Hill wrote:
On Oct 5, 2015, at 3:55 PM, Soni L. <> wrote:


[...] For “interior” functions that are extracted using something like string.dump(), the upvalue used for _ENV, if any, is arbitrarily assigned by the compiler (and not discoverable by examination of the bytecode).


And that's precisely why I want load() to be able to set ANY upvalues, not just the first.


Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.