[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 7 Jul 2013 09:16:04 -0300
> > Yes. The main point is that if x==y then t[x]==t[y]. And 1==1.0, as
> > expected.
> >
> Should that be "if rawequal(x,y) and rawequal(t[x],t[x]) then
> rawequal(t[x],t[y])"?
> i.e. table lookup does not invoke __eq metamethods does it? Also
> table values can be NaN (but keys cannot.)
Right on both counts.