summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-23 15:43:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-23 15:43:06 +0800
commit1c0753f54ae77d560ae6cdb232cec8383fafce92 (patch)
tree3f1e19fcfd4c3f56479456114aeb1503f192d30c /test/completion
parent2b6cd724633edad4ce3b8d1928d9be31104911ba (diff)
downloadlua-language-server-1c0753f54ae77d560ae6cdb232cec8383fafce92.zip
fix #1717
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua
index bf8aca3f..efbe9dd1 100644
--- a/test/completion/common.lua
+++ b/test/completion/common.lua
@@ -4076,3 +4076,11 @@ f {<??>}
kind = define.CompletionItemKind.Property,
},
}
+
+TEST [[
+---@alias Foo Foo[]
+---@type Foo
+local foo
+foo = {"<??>"}
+]]
+(EXISTS)