diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-26 16:17:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-26 16:17:34 +0800 |
commit | 08135e067336d2767029c4a7b907e5df0a0d942b (patch) | |
tree | 1a29da5ccaad9e8715e65a6173a48fe25d22982a /script/core/diagnostics/no-unknown.lua | |
parent | 6632a278360065a24081a85df23498b9b7bc838b (diff) | |
download | lua-language-server-08135e067336d2767029c4a7b907e5df0a0d942b.zip |
cleanup
Diffstat (limited to 'script/core/diagnostics/no-unknown.lua')
-rw-r--r-- | script/core/diagnostics/no-unknown.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/no-unknown.lua b/script/core/diagnostics/no-unknown.lua index 2199b6a8..48aab5da 100644 --- a/script/core/diagnostics/no-unknown.lua +++ b/script/core/diagnostics/no-unknown.lua @@ -1,7 +1,7 @@ local files = require 'files' local guide = require 'parser.guide' local lang = require 'language' -local infer = require 'vm.infer' +local vm = require 'vm' return function (uri, callback) local ast = files.getState(uri) @@ -20,7 +20,7 @@ return function (uri, callback) and source.type ~= 'tableindex' then return end - if infer.getInfer(source):view() == 'unknown' then + if vm.getInfer(source):view() == 'unknown' then callback { start = source.start, finish = source.finish, |