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.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index d9492fd1..79469b90 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1601,3 +1601,15 @@ local t: Position {
z?: number,
}
]]
+
+TEST [[
+---@type { x: string, y: number, z: boolean }
+local <?t?>
+]]
+[[
+local t: {
+ x: string,
+ y: number,
+ z: boolean,
+}
+]]