lua-users home
lua-l archive

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


Hi list !

table.unpack() do not check that the first argument is a table, resulting to an error when using any other value (latest Lua 5.4.4)

The function seems to call luaL_len() without checking that the first argument is a table.

Maybe this behavior isnexpected, in which case I'm sorry for the noise :)

Regards,

Samir Tine