Remove unpackNils (fixes Lua ≥5.2 compat)
table.maxn
doesn't exist in Lua ≥5.2
Also I haven't found that unpack
stops at the first nil (e.g. unpack{nil, 1} == nil, 1
) so unpackNils
is probably unnecessary.
table.maxn
doesn't exist in Lua ≥5.2
Also I haven't found that unpack
stops at the first nil (e.g. unpack{nil, 1} == nil, 1
) so unpackNils
is probably unnecessary.