lua-users home
lua-l archive

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


On Sat, Jun 24, 2017 at 12:00 PM, Enrique Garcia Cota <kikito@gmail.com> wrote:
> Or if you want something a bit more resistant against tables with metatable
> magic:

I believe this is not necessary -- the __eq metamethod is invoked only
if the two values are "not primitively equal", according to the
manual, so you cannot make a table unequal to itself in that way.

-Duncan