diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-11 15:57:46 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-11 15:57:46 +0800 |
commit | 492ed7f90f8fe575c64d4689b2963bd0674da0f9 (patch) | |
tree | 5ee922f1833cd3c8012651348b9c38c7e36c2c70 /test | |
parent | db71c1ef928c42d0fe8ffbd828cad75908a0f521 (diff) | |
download | lua-language-server-492ed7f90f8fe575c64d4689b2963bd0674da0f9.zip |
fix #1317
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/common.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index ec71e77e..0df678d1 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1659,6 +1659,12 @@ TEST [[ ]] TEST [[ +---@diagnostic disable: unused-local +local x, y +---@cast y number +]] + +TEST [[ ---@class A ---@class B |