summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-14 15:49:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-14 15:49:06 +0800
commitcb8bcd478129c490a2635d0b938de1e2d7c774d2 (patch)
treecb8ed24bb711b8170ae8fd26fab17a25edc28a86 /test
parent1a682cdf32775f1e21bc76a17e168df67acb35c2 (diff)
downloadlua-language-server-cb8bcd478129c490a2635d0b938de1e2d7c774d2.zip
fix #1330
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 30f47900..c40ef054 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -3715,3 +3715,7 @@ A.B.C = 1
print(A.B.<?C?>)
]]
+TEST '-2|-3|1' [[
+---@type 1|-2|-3
+local <?n?>
+]]