lua-users home
lua-l archive

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

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

Would it be a big deal for # to leak through __index?

Can we have both __index-friendly # and __len override?

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.