From aceb94a9c641815e3a3c3cb07cbe3644931377de Mon Sep 17 00:00:00 2001 From: kikito Date: Tue, 31 Jan 2017 00:37:55 +0100 Subject: [PATCH] fixes issue with lua 5.3 in performance/run.lua --- performance/run.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/performance/run.lua b/performance/run.lua index 4d9dbc9..8e86278 100644 --- a/performance/run.lua +++ b/performance/run.lua @@ -50,6 +50,7 @@ local run_tests = function(lib_path) end local versions = {'4_1', '4_0', '3_0', '2_0'} +local unpack = _G.unpack or table.unpack local headers = {'test', unpack(versions)} local tests = { --'class_creation', 'instantiation', 'instance_method', 'inherited_method', 'static_method', 'inherited_static_method' }