summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 46accbf7..48daf593 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1929,3 +1929,13 @@ local <?x?>
[[
local x: ` x | y `|`123 ????`
]]
+
+TEST [[
+---@type any
+local x
+
+print(x.<?y?>)
+]]
+[[
+(field) x.y: unknown
+]]