summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/ambiguity-1.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/ambiguity-1.lua')
-rw-r--r--script/core/diagnostics/ambiguity-1.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/ambiguity-1.lua b/script/core/diagnostics/ambiguity-1.lua
index 37815fb5..bae39a03 100644
--- a/script/core/diagnostics/ambiguity-1.lua
+++ b/script/core/diagnostics/ambiguity-1.lua
@@ -25,7 +25,7 @@ local literalMap = {
}
return function (uri, callback)
- local ast = files.getAst(uri)
+ local ast = files.getState(uri)
if not ast then
return
end