lua-users home
lua-l archive

Re: __index returns truncated to one, why?

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


On Thu, Apr 10, 2014 at 6:18 PM, Thiago L. <fakedme@gmail.com> wrote:
> Whatever ({mt.__index(1)})[2] and ({mt.__index(1)})[3] would be...
And that's exactly the point - even experienced users of the language
would not know what to expect, because there _could_ be a magic
metamethod.
-1 for this one, it really causes confusion.

AltStyle によって変換されたページ (->オリジナル) /