summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-01 18:03:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-01 18:04:01 +0800
commit5fb08df5d27425ce1c0858d34c2ec62ddd567b38 (patch)
tree6e3cf72072a5cdb559e3655b25a17b1880bc644b /test/hover
parent93dab3c51a0d5f006d152595b6baa8242cd8f5b2 (diff)
downloadlua-language-server-5fb08df5d27425ce1c0858d34c2ec62ddd567b38.zip
don't show constructor in hover
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index d1d178fc..7d91c385 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -2466,3 +2466,12 @@ local t: {
[3]: table,
}
]]
+
+TEST [[
+---@class A
+---@overload fun(x: number): boolean
+local <?x?>
+]]
+[[
+local x: A
+]]