diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-24 15:33:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-24 15:33:58 +0800 |
commit | 41d5da00933be228f5a18c2f67490b0b2a822931 (patch) | |
tree | f8c25e3f1d3418fdaf31e3110ff514f41d71b77f /script-beta/vm/eachDef.lua | |
parent | f60fffa9afd4c799c449065cbc5beba68e2bdcb1 (diff) | |
download | lua-language-server-41d5da00933be228f5a18c2f67490b0b2a822931.zip |
更新 eachRef
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r-- | script-beta/vm/eachDef.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua index 6bad25ad..45da2fc6 100644 --- a/script-beta/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua @@ -135,8 +135,7 @@ local function findIndex(parent, source) end local function findCallRecvs(func, index, callback) - vm.eachRef(func, function (info) - local source = info.source + vm.eachRef(func, function (source) local parent = source.parent if parent.type ~= 'call' then return |