lua-users home
lua-l archive

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


On Sun, Oct 26, 2014 at 4:29 PM, Tim Hill <drtimhill@gmail.com> wrote:
> Agreed, but my reading of the docs is that it DOES honor __index, so it does rely on metamethods.

Well, I see the code does honor __index. [It seems my complaining in
earlier threads paid off!] ... but I don't see that in the docs?
There's no mention of ipairs using raw/normal access in any of Lua's
5.1, 5.2, or 5.3 beta manuals.

I wouldn't really say that ipairs "relies" on __index, as it only
indirectly controls (ends) the iteration.

-- 
Patrick Donnelly