summaryrefslogtreecommitdiff
path: root/server/src/core/vm.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-28 16:55:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-28 16:55:41 +0800
commitdbfb79aac5139fce6ac00821a07534dd742fe6ed (patch)
treef1f2f59bb64fdef1b9fa64359e6264c70051681f /server/src/core/vm.lua
parent57a03f7146d583f5f9536c5bf16e599b481afab1 (diff)
downloadlua-language-server-dbfb79aac5139fce6ac00821a07534dd742fe6ed.zip
修正bug
Diffstat (limited to 'server/src/core/vm.lua')
-rw-r--r--server/src/core/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/vm.lua b/server/src/core/vm.lua
index fadb1fda..98778e49 100644
--- a/server/src/core/vm.lua
+++ b/server/src/core/vm.lua
@@ -338,7 +338,7 @@ end
function mt:getValue(var)
if not var.value then
- var.value = self:createValue('any')
+ var.value = self:createValue('any', var.source)
end
return var.value
end