It seems that re-packing unpacked values back into a table does not work correctly in Lua 5.1, 5.2, 5.3, 5.4 and LuaJit.The last unpacked value is lost when a new table is constructed and the value is followed by another value:return table.concat { table.unpack { 1, 2 }, 3 }