From 9310038417408a5c2f6c148447d951f248fce2fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 5 Apr 2022 03:54:59 +0800 Subject: update --- test/hover/init.lua | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'test/hover/init.lua') diff --git a/test/hover/init.lua b/test/hover/init.lua index 1fced5b3..6570c38c 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1676,7 +1676,7 @@ TEST [[ ]] [[ global a: { - b: integer, + b: integer = 600, } ]] @@ -1684,7 +1684,7 @@ TEST [[ a. = 10 * 60 ]] [[ -global a.b: integer +global a.b: integer = 600 ]] TEST [[ @@ -1692,7 +1692,7 @@ a..c = 1 * 1 ]] [[ global a.b: { - c: integer, + c: integer = 1, } ]] @@ -1745,20 +1745,6 @@ print(b.) [[ field A.x: unknown ]] -TEST [[ ----@class A ----@field x number ----@field y number - ----@type A -local -]] -[[ -local t: A { - x: number, - y: number, -} -]] TEST [[ ---@return nil -- cgit v1.2.3