# HG changeset patch # User Kim Alvefur # Date 1456159075 -3600 # Node ID b606a5b32e91ad2b776a203c5a7968094b2882fc # Parent 858ccafbd8238f46c9d434282d1c21db62400e0f util.import: Localize unpack() in Lua 5.2 compatible way diff -r 858ccafbd823 -r b606a5b32e91 util/import.lua --- a/util/import.lua Mon Feb 22 17:34:42 2016 +0100 +++ b/util/import.lua Mon Feb 22 17:37:55 2016 +0100 @@ -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);