diff options
Diffstat (limited to 'script/core/diagnostics/no-unknown.lua')
-rw-r--r-- | script/core/diagnostics/no-unknown.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/no-unknown.lua b/script/core/diagnostics/no-unknown.lua index 48aab5da..ff9f7a83 100644 --- a/script/core/diagnostics/no-unknown.lua +++ b/script/core/diagnostics/no-unknown.lua @@ -20,7 +20,7 @@ return function (uri, callback) and source.type ~= 'tableindex' then return end - if vm.getInfer(source):view() == 'unknown' then + if vm.getInfer(source):view(uri) == 'unknown' then callback { start = source.start, finish = source.finish, |