summaryrefslogtreecommitdiff
path: root/server/src/vm/local.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-29 21:51:50 +0800
committersumneko <sumneko@hotmail.com>2019-04-29 21:51:50 +0800
commitbb56cb2c21bf6a6c7a6c3bf6bb069bc69c1f903c (patch)
tree294f29bbb03a357838545c42f6ab15ea5ef942c1 /server/src/vm/local.lua
parentba5e88985b5344789100b1e8d91b68fe1f2cab1a (diff)
downloadlua-language-server-bb56cb2c21bf6a6c7a6c3bf6bb069bc69c1f903c.zip
emmy.arrayType
Diffstat (limited to 'server/src/vm/local.lua')
-rw-r--r--server/src/vm/local.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/vm/local.lua b/server/src/vm/local.lua
index 3591eab9..ad7d80e8 100644
--- a/server/src/vm/local.lua
+++ b/server/src/vm/local.lua
@@ -140,7 +140,10 @@ function mt:setEmmy(emmy)
if not emmy then
return
end
- if emmy.type ~= 'emmy.class' and emmy.type ~= 'emmy.type' then
+ if emmy.type ~= 'emmy.class'
+ and emmy.type ~= 'emmy.type'
+ and emmy.type ~= 'emmy.arrayType'
+ then
return
end
if self.value then