diff options
Diffstat (limited to 'script/core/diagnostics/redundant-parameter.lua')
-rw-r--r-- | script/core/diagnostics/redundant-parameter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/redundant-parameter.lua b/script/core/diagnostics/redundant-parameter.lua index eca7fc91..a2e60b71 100644 --- a/script/core/diagnostics/redundant-parameter.lua +++ b/script/core/diagnostics/redundant-parameter.lua @@ -67,7 +67,7 @@ local function getFuncArgs(func) end return function (uri, callback) - local ast = files.getAst(uri) + local ast = files.getState(uri) if not ast then return end |