diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-09 14:13:23 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-09 14:13:23 +0800 |
commit | 670dc93567d88e8d2ef288dc3c266d591c90beb5 (patch) | |
tree | c36a934905df5be0bf2b4a778dd583362cf7b68f /script/core/diagnostics | |
parent | b85fbef97096a81ab206ec2def71ac22fb4c87c9 (diff) | |
download | lua-language-server-670dc93567d88e8d2ef288dc3c266d591c90beb5.zip |
cleanup
Diffstat (limited to 'script/core/diagnostics')
-rw-r--r-- | script/core/diagnostics/unused-function.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/unused-function.lua b/script/core/diagnostics/unused-function.lua index cf5d47b5..523bca6e 100644 --- a/script/core/diagnostics/unused-function.lua +++ b/script/core/diagnostics/unused-function.lua @@ -44,7 +44,7 @@ return function (uri, callback) local hasGet local refs = vm.getRefs(source) for _, src in ipairs(refs) do - if vm.isGet(src) then + if guide.isGet(src) then local func = guide.getParentFunction(src) if not checkFunction(func) then hasGet = true |