summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index c12928d5..bb1d02c3 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1644,6 +1644,7 @@ TEST [[
---@field x number
---@field y number
---@field z? number
+---@field [3]? number
local <?t?>
t.z = any
@@ -1653,6 +1654,7 @@ local t: Position {
x: number,
y: number,
z?: number,
+ [3]?: number,
}
]]