lua-users home
lua-l archive

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

> 5.2.2 does not say "they are not primitively equal", but the code
> shows it. 5.3.work2 does not say "have the same type", but
> implies it by the word "both" and saying "tables" rather than
> "a table". The point could be made more strongly by a small
> change in the wording:
> Lua will try a metamethod only when the values being compared are
> either both tables or both full userdata, both have the same
> metamethod, and they are not primitively equal.

Many thanks for the suggestion.

-- Roberto