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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/table.lua b/xmake/core/base/table.lua
index 5e04b0256..a360f7b42 100644
--- a/xmake/core/base/table.lua
+++ b/xmake/core/base/table.lua
@@ -155,7 +155,7 @@ end
-- clone table
function table.clone(self)
- local result
+ local result = self
if type(self) == "table" then
result = {}
for k, v in pairs(self) do