From ae71e17952aca0fb6d9b6461d216a71cd6acb709 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 22 Feb 2016 17:37:55 +0100 Subject: util.import: Localize unpack() in Lua 5.2 compatible way --- util/import.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/import.lua b/util/import.lua index 174da0ca..c2b9dce1 100644 --- a/util/import.lua +++ b/util/import.lua @@ -8,6 +8,7 @@ +local unpack = table.unpack or unpack; --luacheck: ignore 113 local t_insert = table.insert; function import(module, ...) local m = package.loaded[module] or require(module); -- cgit v1.2.3