summaryrefslogtreecommitdiff
path: root/script/core/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics')
-rw-r--r--script/core/diagnostics/assign-type-mismatch.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/diagnostics/assign-type-mismatch.lua b/script/core/diagnostics/assign-type-mismatch.lua
index 9646878a..3ec0a56c 100644
--- a/script/core/diagnostics/assign-type-mismatch.lua
+++ b/script/core/diagnostics/assign-type-mismatch.lua
@@ -76,7 +76,8 @@ return function (uri, callback)
return
end
if source.type == 'setfield'
- or source.type == 'setindex' then
+ or source.type == 'setindex'
+ or source.type == 'tableexp' then
return
end
end