summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-27 17:47:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-27 17:47:08 +0800
commit8b15b7c4dbe4ffc3bb517655a934b2b58c698664 (patch)
tree31113b5eef3eb7c3ef89bb71092b1779d731317a /script-beta
parentaeeb7d9a52ca429bfd4db41a1e675261d285665c (diff)
downloadlua-language-server-8b15b7c4dbe4ffc3bb517655a934b2b58c698664.zip
修正一个引用计算bug
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/vm/eachRef.lua8
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