diff options
Diffstat (limited to 'script/core/diagnostics/unused-label.lua')
-rw-r--r-- | script/core/diagnostics/unused-label.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/unused-label.lua b/script/core/diagnostics/unused-label.lua index e6d998ba..8ee0bba3 100644 --- a/script/core/diagnostics/unused-label.lua +++ b/script/core/diagnostics/unused-label.lua @@ -4,7 +4,7 @@ local define = require 'proto.define' local lang = require 'language' return function (uri, callback) - local ast = files.getAst(uri) + local ast = files.getState(uri) if not ast then return end |