diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-25 10:37:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-25 10:37:09 +0800 |
commit | ebd58d78c6eea01134fff64949085081f0e9d1af (patch) | |
tree | e9e37cc35c59de1b083a73155a76710c5e68686a /server | |
parent | 0ac45b3968f49f12f5886d301d992c3dffe02ca1 (diff) | |
download | lua-language-server-ebd58d78c6eea01134fff64949085081f0e9d1af.zip |
修正在set global的位置查看引用结果不正确的bug
Diffstat (limited to 'server')
-rw-r--r-- | server/src/vm/vm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua index 7deadf4a..0f0de9fe 100644 --- a/server/src/vm/vm.lua +++ b/server/src/vm/vm.lua @@ -392,7 +392,7 @@ function mt:setName(name, source, value) source:bindValue(value, 'set') ENVValue:setChild(name, value, source) source:set('global', true) - source:set('parentValue', ENVValue) + source:set('parent', ENVValue) if self.lsp then self.lsp.global:markSet(self:getUri()) end |