summaryrefslogtreecommitdiff
path: root/xmake/core/base/table.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-20 00:41:26 +0800
committerruki <[email protected]>2019-06-19 22:08:36 +0800
commita4d6849c8b18d32e0dd97c54b95ed49c2c3acb76 (patch)
treea23f7389e6a1aa66cf6efc3b2f79ca5170613915 /xmake/core/base/table.lua
parent368904bc150e3aeee0e906674a00f84cdd81f303 (diff)
revert table.pack
Diffstat (limited to 'xmake/core/base/table.lua')
-rw-r--r--xmake/core/base/table.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/table.lua b/xmake/core/base/table.lua
index 74b4723c2..3fd35c082 100644
--- a/xmake/core/base/table.lua
+++ b/xmake/core/base/table.lua
@@ -258,7 +258,7 @@ end
-- pack arguments into a table
function table.pack(...)
- return { len = select("#", ...), ... }
+ return { n = select("#", ...), ... }
end
-- unpack table values