Changeset

7183:b606a5b32e91

util.import: Localize unpack() in Lua 5.2 compatible way
author Kim Alvefur <zash@zash.se>
date Mon, 22 Feb 2016 17:37:55 +0100
parents 7182:858ccafbd823
children 7184:dedc6bf180e2
files util/import.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);