summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-02 21:32:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-02 21:32:49 +0800
commit4d3ad397a84f4609f22fda6969c115a2abe5a0dd (patch)
tree2a25d4826d79b8eda70d202dcb96c55d77ca572e /test/diagnostics/init.lua
parent1c87e3a2cdf47c6c98e85ffa82fbfc328654beec (diff)
downloadlua-language-server-4d3ad397a84f4609f22fda6969c115a2abe5a0dd.zip
`unused-local` ignored local with `doc.class`
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 8b4ba219..36af38b8 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -778,3 +778,8 @@ TEST [[
---@type
---| 'xx'
]]
+
+TEST [[
+---@class class
+local t
+]]