diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 19:09:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 19:09:39 +0800 |
commit | 7e778b31476831864dff995ae3ae4e5f223c5726 (patch) | |
tree | b570499b7b70014067d9e5cd737088df474b7c76 /script/proto | |
parent | 09cd9882be4b66f270c74516759844683832b1d4 (diff) | |
download | lua-language-server-7e778b31476831864dff995ae3ae4e5f223c5726.zip |
new diag `return-type-mismatch`
Diffstat (limited to 'script/proto')
-rw-r--r-- | script/proto/diagnostic.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua index 43043b94..1065950d 100644 --- a/script/proto/diagnostic.lua +++ b/script/proto/diagnostic.lua @@ -74,6 +74,7 @@ m.register { 'assign-type-mismatch', 'param-type-mismatch', 'cast-type-mismatch', + 'return-type-mismatch', } { group = 'type-check', severity = 'Warning', |