summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/hint.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hint.lua b/script/core/hint.lua
index 3f97586e..55ae809a 100644
--- a/script/core/hint.lua
+++ b/script/core/hint.lua
@@ -35,7 +35,7 @@ local function typeHint(uri, edits, start, finish)
end
local infer = vm.getInferType(source, 0)
if infer == 'any'
- or infer == 'any' then
+ or infer == 'nil' then
return
end
local src = source