summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-02 21:54:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-02 21:54:56 +0800
commit06b7670da978254be0c9d6727b23e6076ab54d48 (patch)
tree4359d135ed16ccf30bdf4a6ea1002c67f8525e65 /test
parent62f15442152461495afcebcc0d0b048f3eacc96b (diff)
downloadlua-language-server-06b7670da978254be0c9d6727b23e6076ab54d48.zip
fix error search by doc.return
Diffstat (limited to 'test')
-rw-r--r--test/references/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/references/init.lua b/test/references/init.lua
index 835a0764..4673d2f8 100644
--- a/test/references/init.lua
+++ b/test/references/init.lua
@@ -296,3 +296,9 @@ local <!t!>
---@type Class
local <?x?>
]]
+
+-- BUG
+TEST [[
+---@return <?any?>
+function f() end
+]]