lua-users home
lua-l archive

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




On 24/08/16 07:33 PM, Tim Hill wrote:
On Aug 24, 2016, at 3:16 PM, Soni L. <fakedme@gmail.com> wrote:

Why doesn't # respect __index? Is it because the behaviour of # is implementation-defined and thus it shouldn't leak through __index?

Because we have __len.

—Tim



Why not both tho?

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.