lua-users home
lua-l archive

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


Bennet:

On Sat, Mar 28, 2020 at 7:28 AM Kalafut, Bennett
<bennett.kalafut@thermofisher.com> wrote:
> We (Lua users at Thermo-Fisher) were surprised recently to find that the __index metamethod of the metatable’s metatable isn’t used when looking for things like __newindex metamethods.

Why were you surprised? The FM says "Lua queries metamethods in
metatables using a raw access ".

I see you may have liked it other way, but IMO this part is clearly defined.

FOS