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]


2014年04月12日 21:23 GMT+02:00 Dirk Laurie <dirk.laurie@gmail.com>:
> The __index metamethod is a function, it must behave
> exactly as rawgetting a table would — but it requires deduction.
> almost reading between the lines, to extract that information.
One important word got left out,sorry.
When the __index metamethod is a function, it must behave
exactly as rawgetting a table would.

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