From d9decd5a0dd0abbe7842da4400e665d96d6b8f9b Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Tue, 15 Apr 2014 22:59:21 +0300 Subject: use 'unpack' function from 'table' module --- aconf/object.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aconf/object.lua') diff --git a/aconf/object.lua b/aconf/object.lua index 64fbb9c..a81fbf8 100644 --- a/aconf/object.lua +++ b/aconf/object.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2012-2013 Kaarle Ritvanen +Copyright (c) 2012-2014 Kaarle Ritvanen See LICENSE file for license details --]] @@ -43,7 +43,7 @@ function M.super(obj, cls) return function(...) local arg = {...} arg[1] = obj - return v(unpack(arg)) + return v(table.unpack(arg)) end end -- cgit v1.2.3