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.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 48daf593..0925db77 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1939,3 +1939,11 @@ print(x.<?y?>)
[[
(field) x.y: unknown
]]
+
+TEST [[
+---@async
+x({}, <?function?> () end)
+]]
+[[
+(async) function ()
+]]