summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-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 3efe29e3..4bfde29e 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1433,3 +1433,11 @@ local <?x?> --- @type boolean
[[
local x: boolean
]]
+
+TEST [[
+local x --- @type boolean
+local <?y?>
+]]
+[[
+local y: any
+]]