diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-11 20:41:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-11 20:41:01 +0800 |
commit | 4534a804e161a03cd1a47f79bb924bf9b7df1f60 (patch) | |
tree | e0dffe261dcd3c3e7a5bdf4422827a1c59b00659 /server/src/matcher/vm.lua | |
parent | e8858e236690b579097ac095049bce4634182d25 (diff) | |
download | lua-language-server-4534a804e161a03cd1a47f79bb924bf9b7df1f60.zip |
修正bug
Diffstat (limited to 'server/src/matcher/vm.lua')
-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 d84f9062..19a844df 100644 --- a/server/src/matcher/vm.lua +++ b/server/src/matcher/vm.lua @@ -442,7 +442,7 @@ function mt:getSimple(simple, mode) if tp == 'call' then local args = self:unpackList(obj) if object then - table.insert(args, 1, object) + table.insert(args, 1, self:getValue(object)) end -- 函数的返回值一定是list value = self:call(value, args) |