|
|
||
|
just a little inconvenient when used with:for k, v in pairs(obj) do … endthe keys in the realobj will be ignored. It's a known issue:Why don't pairs() and ipairs() obey an __index metamethodhttp://lua-users.org/lists/lua-l/2007-09/msg00374.html