From 792b0e8d798c02f811d2dc0428a3babcd80f558f 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(+) 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