Color module does not use metamethods in its instances
aki-cat opened this issue · comments
When required, the color module will return a table that has as metatable the variable color_mt
.
This color_mt
contains important metamethods to use in color operations (__add
, __mul
, to name a few – good for color operations!).
But none of these metamethods are used by the actual color instances because there is no other table that uses color_mt
as a metatable, not even indirectly.
Is this intended?