From 7a8ffbba2af9e16225f757c7915c268125acd1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 13 Jan 2022 18:18:09 +0800 Subject: fix #876 --- test/hover/init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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.z = any @@ -1653,6 +1654,7 @@ local t: Position { x: number, y: number, z?: number, + [3]?: number, } ]] -- cgit v1.2.3