lua-users home
lua-l archive

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

Wim Couwenberg wrote:
I just noticed that the __unm metamethod is in fact called as a binary
operator in 5.1 (the second operand being equal to the first).  Is
this intentional?  The manual clearly describes __unm as a unary
operator and does not mention this second operand.

There was a recent thread on the issue, though no answer was given: