From 8870b6a8f8827c7eaa70f9663f754586aa2408fc 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, 24 Sep 2021 15:02:50 +0800 Subject: resolve #639 --- test/hover/init.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/hover') diff --git a/test/hover/init.lua b/test/hover/init.lua index c16e466d..8058317d 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1699,3 +1699,18 @@ print(b.) [[ field A.x: any ]] + +TEST [[ +---@class A +---@field x number +---@field y number + +---@type A +local +]] +[[ +local t: A { + x: number, + y: number, +} +]] -- cgit v1.2.3