From 955e08617643e9961da0000e8bc270b0bd85047c 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, 17 Sep 2020 19:16:01 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-beta/hover/init.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test-beta/hover/init.lua') diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index b5889153..8ec6cb9c 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -737,6 +737,24 @@ local t: { } ]] +TEST [[ +local t = { + v = { + b = 1, + c = 2, + d = 3, + } +} +print(t.) +]] +[[ +field t.v: { + b: integer = 1, + c: integer = 2, + d: integer = 3, +} +]] + --TEST[[ -----@class Class --local = class() -- cgit v1.2.3