lua-users home
lua-l archive

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


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.