summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 78b6d248..f481cf78 100644
--- a/script/vm/type.lua
+++ b/script/vm/type.lua
@@ -394,7 +394,7 @@ function vm.isSubType(uri, child, parent, mark, err)
]]
if guide.isBasicType(childName)
and guide.isLiteral(child)
- and vm.isSubType(uri, parentName, childName, mark, err) then
+ and vm.isSubType(uri, parentName, childName, mark) then
return true, err
end