diff options
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, |