lua-users home
lua-l archive

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


On Fri, Apr 29, 2011 at 8:49 AM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> But what about my other issues in section 6.5? I wrote:
>>
>> > 1. What are "most functions" out of six?
>> > 2. Please add "(see §3.4.6)." at the end of the section.
>> > 3. It is still not clear how the table methods work if you
>> > override the length operator with a __len metamethod.
>>
>> Especially a clarification for the third issue would be helpful.
>
> We read your suggestions; thank you. (About the "third issue",
> __len metamethods will be respected.)

Will __index|__newindex also be respected? There doesn't seem to be
much point in respecting __len if __index and __newindex are ignored.

-- 
- Patrick Donnelly