From 9e8ae91901c096be13e6c7ef0cf865b0be7d0538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 8 Apr 2022 18:31:50 +0800 Subject: fix --- test/hover/init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/hover') diff --git a/test/hover/init.lua b/test/hover/init.lua index 2ae6837f..4337c4a4 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1816,3 +1816,15 @@ local = '1' .. '2' [[ local x: string = "12" ]] + +TEST [[ +local t = { + x = 1, + [1] = 'x', +} + +local = t[#t] +]] +[[ +local x: string = "x" +]] -- cgit v1.2.3