summaryrefslogtreecommitdiff
path: root/server/src/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-23 15:30:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-23 15:30:15 +0800
commita698d13407454735870b671bb270f0cf33daab31 (patch)
treeef8ae60f6a6e593a9b04a9756a075c2e163c80ca /server/src/core
parent069ff968341e81976c46fd6a260db429b99473f6 (diff)
downloadlua-language-server-a698d13407454735870b671bb270f0cf33daab31.zip
修正全局变量的一个bug
Diffstat (limited to 'server/src/core')
-rw-r--r--server/src/core/global.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/src/core/global.lua b/server/src/core/global.lua
index 5704bfd4..ba4fdc47 100644
--- a/server/src/core/global.lua
+++ b/server/src/core/global.lua
@@ -25,7 +25,6 @@ function mt:markGet(uri, k)
end
function mt:compileVM(uri, vm)
- self:clearGlobal(uri)
local seted = {}
for k, v in next, vm.env.child do
local get, set