lua-users home
lua-l archive

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


On Sat, Feb 29, 2020 at 10:35 PM connor horman wrote:
Many of these, excluding ?# don’t have sensible defaults with operator overloading (which we get from metatables).

Overloaded operators should receive unmodified nil.
If obj has addition overloaded in its metatable then
obj ?+ nil
should be the same as
obj + nil