lua-users home
lua-l archive

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


On Mon, Apr 8, 2013 at 3:25 PM, Romeu Braz Pereira Gomes Filho <bpgomes55@gmail.com> wrote:
Is this an expected result or a bug?

It is expected; tables-with-holes (those containing nils) are not guaranteed to work properly with #

Different versions of Lua will in fact give different results, some of them 'correct'. This is undefined behaviour