getmetatable() should respect __index
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: getmetatable() should respect __index
- From: "Soni L." <fakedme@...>
- Date: 2015年8月12日 17:56:27 -0300
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.