summaryrefslogtreecommitdiff
path: root/test/hover/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover/init.lua')
-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
+]]