summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-14 18:14:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-14 18:14:23 +0800
commitb25fe0dcbf3b06534d170caa294a5245273ea076 (patch)
tree325db05999037fa608df55b83c728e27549c011c /server/src
parent4f33ceec00032028c5cc47a00c1ec869902061a8 (diff)
downloadlua-language-server-b25fe0dcbf3b06534d170caa294a5245273ea076.zip
更新配置
Diffstat (limited to 'server/src')
-rw-r--r--server/src/matcher/vm.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua
index 0700f640..b1d303a9 100644
--- a/server/src/matcher/vm.lua
+++ b/server/src/matcher/vm.lua
@@ -445,7 +445,6 @@ function mt:setFunctionReturn(func, index, value)
if not func.returns then
func.returns = {
type = 'list',
- [1] = self:createValue('any'),
}
end
if value then
@@ -465,7 +464,6 @@ function mt:getFunctionReturns(func, i)
if not func.returns then
func.returns = {
type = 'list',
- [1] = self:createValue('any'),
}
end
if i then