diff options
Diffstat (limited to 'script/core/diagnostics/missing-parameter.lua')
-rw-r--r-- | script/core/diagnostics/missing-parameter.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/core/diagnostics/missing-parameter.lua b/script/core/diagnostics/missing-parameter.lua index b6067175..78b94a09 100644 --- a/script/core/diagnostics/missing-parameter.lua +++ b/script/core/diagnostics/missing-parameter.lua @@ -2,14 +2,18 @@ local files = require 'files' local guide = require 'parser.guide' local vm = require 'vm' local lang = require 'language' +local await = require 'await' +---@async return function (uri, callback) local state = files.getState(uri) if not state then return end + ---@async guide.eachSourceType(state.ast, 'call', function (source) + await.delay() local _, callArgs = vm.countList(source.args) local funcNode = vm.compileNode(source.node) |