[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Inheritance of metamethods in idiomatic Lua OOP--not as slick as one would expect
- From: dyngeccetor8 <dyngeccetor8@...>
- Date: Sun, 29 Mar 2020 16:55:42 +0300
On 28/03/2020 09.27, Kalafut, Bennett 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.
I believe it's better styled as
Yo dawg, we herd that the __index metamethod of the metatable’s metatable
isn’t used when looking for things like __newindex metamethods.