summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-06 23:21:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-06 23:21:28 +0800
commit27dcfa8d1463936d0b2514cd82eebe1910ab3bb7 (patch)
treee0420120917c4938e6198e965e0dc146fc9e3835 /test
parent5ec199aa6c9119cac7a4e53694eaa7f9273bc58a (diff)
downloadlua-language-server-27dcfa8d1463936d0b2514cd82eebe1910ab3bb7.zip
completion and diags for operator
Diffstat (limited to 'test')
-rw-r--r--test/diagnostics/common.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 9ee572cb..27e92676 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -1902,3 +1902,8 @@ end
]]
util.arrayRemove(disables, 'redundant-return')
+
+TEST [[
+---@class A
+---@operator <!xxx!>: A
+]]