comparison util/multitable.lua @ 12589:39ae08180c81

compat: Remove handling of Lua 5.1 location of 'unpack' function
author Kim Alvefur <zash@zash.se>
date Mon, 11 Jul 2022 19:07:38 +0200
parents affcbccc1dff
children c9c4a13732e4
comparison
equal deleted inserted replaced
12588:b15d3cf98ba6 12589:39ae08180c81
7 -- 7 --
8 8
9 local select = select; 9 local select = select;
10 local t_insert = table.insert; 10 local t_insert = table.insert;
11 local pairs, next, type = pairs, next, type; 11 local pairs, next, type = pairs, next, type;
12 local unpack = table.unpack or unpack; --luacheck: ignore 113 12 local unpack = table.unpack;
13 13
14 local _ENV = nil; 14 local _ENV = nil;
15 -- luacheck: std none 15 -- luacheck: std none
16 16
17 local function get(self, ...) 17 local function get(self, ...)