summaryrefslogtreecommitdiff
path: root/xmake/core/base/table.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-10 00:01:01 +0800
committerruki <[email protected]>2021-10-10 00:01:01 +0800
commitff96f6c08fcf72b44226626e1d04be60e92ac37c (patch)
tree772bc2adb964e9488ea54c59da642c59710c69b4 /xmake/core/base/table.lua
parent1af0820871a06217312fcee22b68e15954fc553a (diff)
fix some unpack
Diffstat (limited to 'xmake/core/base/table.lua')
-rw-r--r--xmake/core/base/table.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/table.lua b/xmake/core/base/table.lua
index 372e5f975..72987c1b6 100644
--- a/xmake/core/base/table.lua
+++ b/xmake/core/base/table.lua
@@ -327,9 +327,9 @@ function table.pack(...)
return { n = select("#", ...), ... }
end
--- unpack table values
+-- table.unpack table values
-- polyfill of lua 5.2, @see https://www.lua.org/manual/5.2/manual.html#pdf-table.unpack
-table.unpack = table.unpack or unpack
+table.unpack = table.unpack or table.unpack
-- get keys of a table
function table.keys(tab)