summaryrefslogtreecommitdiff
path: root/script/vm/type.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-16 21:13:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-16 21:13:07 +0800
commitb1d96627a1af5e4485720636dfb1d4f767e184d5 (patch)
tree09667e0d55139d8093f3dde565919619def885e7 /script/vm/type.lua
parent1aa0cf49b70dc2489d116e412ecf632c95178f24 (diff)
downloadlua-language-server-b1d96627a1af5e4485720636dfb1d4f767e184d5.zip
don't check `unknown`
Diffstat (limited to 'script/vm/type.lua')
-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 3eb42e51..e2f723bc 100644
--- a/script/vm/type.lua
+++ b/script/vm/type.lua
@@ -39,7 +39,7 @@ function vm.isSubNode(child, parent, mark)
mark = mark or {}
local childName = getNodeName(child)
local parentName = getNodeName(parent)
- if childName == 'any'
+ if childName == 'any'
or parentName == 'any' then
return true
end