[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 23 Mar 2014 10:37:06 -0300
> 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