diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:08:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 03:08:24 +0800 |
commit | ae024958da9a14ed837495f79972a85458ee3f0c (patch) | |
tree | 98acf3e1bdfa552ed266a2033e22ead1a9c044bd /test/diagnostics | |
parent | f3019c63409b7bdadb0b7ecedfd3b90a0b29397b (diff) | |
download | lua-language-server-ae024958da9a14ed837495f79972a85458ee3f0c.zip |
fix diags
Diffstat (limited to 'test/diagnostics')
-rw-r--r-- | test/diagnostics/common.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index de2481a6..16773633 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1736,16 +1736,17 @@ end do return end TEST [[ ----@return number +---@return number, number? function F() - X = 1<!!> + return 1, 1, <!1!> end ]] TEST [[ ----@return number, number? +---@return number function F() - return 1, 1, <!1!> + X = 1<!!> end ]] + util.arrayRemove(disables, 'redundant-return') |