various: Don't rely on _G.unpack existing

This commit is contained in:
Kim Alvefur 2018-12-08 17:09:55 +01:00
parent 2d56ac0394
commit 2b289f34f9
8 changed files with 8 additions and 2 deletions

View file

@ -16,6 +16,7 @@ local bor = bit.bor;
local bxor = bit.bxor;
local lshift = bit.lshift;
local rshift = bit.rshift;
local unpack = table.unpack or unpack; -- luacheck: ignore 113
local t_concat = table.concat;
local s_byte = string.byte;