[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [proposal] Using nil/NaN as table index
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 9 Apr 2014 07:53:14 +0200
On Tue, Apr 8, 2014 at 10:16 PM, Peter Melnichenko
<petjamelnik@yandex.ru> wrote:
> What's inconsistent, in my opinion, is that an error is not thrown when _getting_ a field using those non-retrievable keys, which may result in thorny debugging problems as well.
That's the point that makes sense - we agree that nil is not a valid
table index, and it should be an error for _both_ getting and setting.