diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-21 15:44:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-21 15:44:15 +0800 |
commit | b7f804de230d3bad149fc74971ca55b12175fb66 (patch) | |
tree | e07dcf775a8b0522c94fe74bba6c028f757de802 /server | |
parent | dcab266b70941e3347ae158bdcdabf184b096ee9 (diff) | |
download | lua-language-server-b7f804de230d3bad149fc74971ca55b12175fb66.zip |
修正一个报错
Diffstat (limited to 'server')
-rw-r--r-- | server/src/matcher/vm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua index a47e0109..647b99c3 100644 --- a/server/src/matcher/vm.lua +++ b/server/src/matcher/vm.lua @@ -1253,7 +1253,7 @@ function mt:mergeRequire(value, strValue, destVM) -- 获取主函数返回值,注意不能修改对方的环境 local mainValue if not main.returns then - mainValue = self:createValue('nil', nil, { + mainValue = self:createValue('nil', { type = 'name', start = 0, finish = 0, |