summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-08 02:17:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-08 02:17:59 +0800
commitebf3d6ce1a24270ba796c9819c40d1964edec220 (patch)
tree9419feade6438cf7f9b56694430e942be071aab4 /script
parent16332043f9f0a5db9dfc8ee4ae41e40da3227d3d (diff)
downloadlua-language-server-ebf3d6ce1a24270ba796c9819c40d1964edec220.zip
fix
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 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