From b175fd29848e5f09ae8eba6372966c85184d107f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 7 Nov 2022 14:10:50 +0800 Subject: fix --- script/core/diagnostics/assign-type-mismatch.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script/core/diagnostics') 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 -- cgit v1.2.3