summaryrefslogtreecommitdiff
path: root/server/src/vm
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 14:04:36 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 14:04:36 +0800
commit264e332acd1dbfb91c3f6633f6b48f3e4119f832 (patch)
tree7a5f78d6ed49f07cf1932550964532cccfc3f0ad /server/src/vm
parent96647a35c6977909df5d6c5f7e77d0a4a2dbe2c0 (diff)
downloadlua-language-server-264e332acd1dbfb91c3f6633f6b48f3e4119f832.zip
不要加载自定义库中的全局变量
Diffstat (limited to 'server/src/vm')
-rw-r--r--server/src/vm/value.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua
index 7e2c3663..625066b1 100644
--- a/server/src/vm/value.lua
+++ b/server/src/vm/value.lua
@@ -232,9 +232,7 @@ function mt:flushChild(child)
for index in pairs(self._child) do
if not alived[index] then
self._child[index] = nil
- goto CONTINUE
end
- ::CONTINUE::
end
end