lua-users home
lua-l archive

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


Michael Panetta wrote:

But this does not work, because when lua_dump creates the
chunk, the upvalue gets lost.

Incidentally, being able to dump a closure at all is
undocumented behavior.  See

http://lua-users.org/lists/lua-l/2006-08/msg00116.html

and the rest of that thread.

--
Aaron