summaryrefslogtreecommitdiff
path: root/xmake/core/base/table.lua
diff options
context:
space:
mode:
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 72987c1b6..f571a4553 100644
--- a/xmake/core/base/table.lua
+++ b/xmake/core/base/table.lua
@@ -328,8 +328,8 @@ function table.pack(...)
end
-- 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 table.unpack
+-- polyfill of lua 5.2, @see https://www.lua.org/manual/5.2/manual.html#pdf-unpack
+table.unpack = table.unpack or unpack
-- get keys of a table
function table.keys(tab)