diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-27 17:47:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-27 17:47:08 +0800 |
commit | 8b15b7c4dbe4ffc3bb517655a934b2b58c698664 (patch) | |
tree | 31113b5eef3eb7c3ef89bb71092b1779d731317a /script-beta | |
parent | aeeb7d9a52ca429bfd4db41a1e675261d285665c (diff) | |
download | lua-language-server-8b15b7c4dbe4ffc3bb517655a934b2b58c698664.zip |
修正一个引用计算bug
Diffstat (limited to 'script-beta')
-rw-r--r-- | script-beta/vm/eachRef.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script-beta/vm/eachRef.lua b/script-beta/vm/eachRef.lua index cfb2bef8..cc004c20 100644 --- a/script-beta/vm/eachRef.lua +++ b/script-beta/vm/eachRef.lua @@ -234,10 +234,10 @@ local function asArg(source, callback) end end) end - end - local recvs = getCallRecvs(call) - if recvs and recvs[1] then - vm.eachRef(recvs[1], callback) + local recvs = getCallRecvs(call) + if recvs and recvs[1] then + vm.eachRef(recvs[1], callback) + end end end end |