summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-01-15 15:35:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-01-15 15:35:31 +0800
commit0027944bb626808b0d202d412932b031d6ab3b9c (patch)
tree712e305955ede162eeeb3e0670098bb79d79dc3f /script/vm
parent55174040f1aaf1311afa6cb28c28ad0b489b65d1 (diff)
downloadlua-language-server-0027944bb626808b0d202d412932b031d6ab3b9c.zip
#121 修正emmy泛型的报错
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/emmy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/emmy.lua b/script/vm/emmy.lua
index 9342a851..67242f9a 100644
--- a/script/vm/emmy.lua
+++ b/script/vm/emmy.lua
@@ -166,7 +166,7 @@ function mt:getGenericByType(type)
if not generics then
return
end
- if #type > 1 then
+ if #type ~= 1 then
return
end
local name = type[1][1]