summaryrefslogtreecommitdiff
path: root/xmake/core/base/scopeinfo.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-03-02 23:26:00 +0800
committerruki <[email protected]>2022-03-02 23:26:00 +0800
commitaeb97fe6d7d7385fddb494dc4f4a892993e03876 (patch)
tree29d97c4b90fd0af6d841b7941bc22f288a7448b8 /xmake/core/base/scopeinfo.lua
parentcfdffbc896a2999c594caccfdaa323df16e3950b (diff)
fix wrap
Diffstat (limited to 'xmake/core/base/scopeinfo.lua')
-rw-r--r--xmake/core/base/scopeinfo.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/scopeinfo.lua b/xmake/core/base/scopeinfo.lua
index 02fb89299..4e0d5a73c 100644
--- a/xmake/core/base/scopeinfo.lua
+++ b/xmake/core/base/scopeinfo.lua
@@ -120,7 +120,7 @@ function _instance:_api_set_values(name, ...)
if extra_config and extra_config.expand == false then
for _, value in ipairs(values) do
if type(value) == "table" then
- setmetatable(value, {})
+ value.__object__ = true
end
end
else
@@ -171,7 +171,7 @@ function _instance:_api_add_values(name, ...)
if extra_config and extra_config.expand == false then
for _, value in ipairs(values) do
if type(value) == "table" then
- setmetatable(value, {})
+ value.__object__ = true
end
end
else