diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-21 17:17:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-21 17:17:55 +0800 |
commit | 2adc24974ffa9b804e9b99a9b8f777a5220f7e89 (patch) | |
tree | de39927f252de2a9f12ef3c436264345beb9674d /test | |
parent | 59285a7f6e18ea67e65a7eca9f21b564a2edfa2e (diff) | |
download | lua-language-server-2adc24974ffa9b804e9b99a9b8f777a5220f7e89.zip |
fix #1354
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/common.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 886f086a..34164a9a 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -2007,3 +2007,15 @@ local t local _ <close> = t ]] + +TEST [[ +---@diagnostic disable: duplicate-set-field +---@class A +local m = {} + +function m.ff() end + +function m.ff(x) end + +m.ff(1) +]] |