|
On 06/10/15 03:05 PM, Tim Hill wrote:
And that's precisely why I want load() to be able to set ANY upvalues, not just the first.On Oct 5, 2015, at 3:55 PM, Soni L. <fakedme@gmail.com> 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). —Tim
See https://github.com/SoniEx2/loadx -- 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.