summaryrefslogtreecommitdiff
path: root/script/core/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-27 00:42:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-27 00:42:31 +0800
commit92b2a185af2d31dd353ef8a7d57469ee9d584cb7 (patch)
tree6bf05537370f6aae25e956f927773e95ad229b07 /script/core/diagnostics
parentc50a20ddad4adb3e0f8ead37a2e6a9960fe3000d (diff)
downloadlua-language-server-92b2a185af2d31dd353ef8a7d57469ee9d584cb7.zip
resolve #1236 custom class can extends basic class
Diffstat (limited to 'script/core/diagnostics')
-rw-r--r--script/core/diagnostics/assign-type-mismatch.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/diagnostics/assign-type-mismatch.lua b/script/core/diagnostics/assign-type-mismatch.lua
index 8080b2ec..e84e41df 100644
--- a/script/core/diagnostics/assign-type-mismatch.lua
+++ b/script/core/diagnostics/assign-type-mismatch.lua
@@ -5,6 +5,7 @@ local vm = require 'vm'
local await = require 'await'
local checkTypes = {
+ 'local',
'setlocal',
'setglobal',
'setfield',