summaryrefslogtreecommitdiff
path: root/server/src/matcher/vm.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-20 19:01:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-20 19:01:37 +0800
commitda656036f0a6344f418778cede39c0ff14a7ca11 (patch)
treeea4edce2862d8e1cf81503caed32113e6113dfa5 /server/src/matcher/vm.lua
parent750834e2d06cd6a6a461987001be9cb991c89bc7 (diff)
downloadlua-language-server-da656036f0a6344f418778cede39c0ff14a7ca11.zip
要用另一个文件的行信息
Diffstat (limited to 'server/src/matcher/vm.lua')
-rw-r--r--server/src/matcher/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/vm.lua b/server/src/matcher/vm.lua
index 87f0139a..9e559fa7 100644
--- a/server/src/matcher/vm.lua
+++ b/server/src/matcher/vm.lua
@@ -309,7 +309,7 @@ function mt:getField(pValue, name, source)
end
function mt:buildFunction(exp, object)
- local func = self:createValue('function')
+ local func = self:createValue('function', exp)
func.args = {}
func.argValues = {}