diff options
Diffstat (limited to 'script/core/diagnostics/duplicate-set-field.lua')
-rw-r--r-- | script/core/diagnostics/duplicate-set-field.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/duplicate-set-field.lua b/script/core/diagnostics/duplicate-set-field.lua index e1883fe5..492793b1 100644 --- a/script/core/diagnostics/duplicate-set-field.lua +++ b/script/core/diagnostics/duplicate-set-field.lua @@ -5,7 +5,7 @@ local define = require 'proto.define' local guide = require "parser.guide" return function (uri, callback) - local ast = files.getAst(uri) + local ast = files.getState(uri) if not ast then return end |