lua-users home
lua-l archive

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


Currently:

t = setmetatable({}, setmetatable({}, {__index={__metatable="test"}}))
print(getmetatable(t) == debug.getmetatable(t))

Can we get getmetatable() to respect __index?

--
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.