summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-11 15:57:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-11 15:57:46 +0800
commit492ed7f90f8fe575c64d4689b2963bd0674da0f9 (patch)
tree5ee922f1833cd3c8012651348b9c38c7e36c2c70 /test
parentdb71c1ef928c42d0fe8ffbd828cad75908a0f521 (diff)
downloadlua-language-server-492ed7f90f8fe575c64d4689b2963bd0674da0f9.zip
fix #1317
Diffstat (limited to 'test')
-rw-r--r--test/diagnostics/common.lua6
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