summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/vm/type.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/type.lua b/script/vm/type.lua
index d2a859d0..d3ce7a92 100644
--- a/script/vm/type.lua
+++ b/script/vm/type.lua
@@ -70,7 +70,7 @@ local function checkParentEnum(parentName, child, uri, mark, errs)
if enums then
enums = util.arrayMerge(enums, denums)
else
- enums = denums
+ enums = util.arrayMerge({}, denums)
end
end
end