From 171ed306f84850be46620145358dcfdf37387de2 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, 4 Mar 2022 16:57:57 +0800 Subject: update --- test/definition/bug.lua | 77 ------------------------------------------------- 1 file changed, 77 deletions(-) (limited to 'test/definition/bug.lua') diff --git a/test/definition/bug.lua b/test/definition/bug.lua index 58c2ed59..b564f764 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -251,80 +251,3 @@ local = t[a] t[a] = ]] - -TEST [[ ----@class A ----@field x number - ----@class B: A ----@field boolean - ----@type B -local t - -t. -]] - -TEST [[ ----@class A ----@field number - ----@class B: A - ----@type B -local t - -t. -]] - -TEST [[ ----@class A -local A - -function A:x() end - ----@class B: A -local B - - - ----@type B -local t - -local !> = t.x -]] - -TEST [[ ----@class A -local A - - - ----@class B: A -local B - ----@type B -local t - -local !> = t.x -]] - --- TODO ---TEST [[ ------@class A ---local A --- ------@return A ---function A:x() end --- ------@class B: A ---local --- ------@return B ---function B:x() end --- ------@type B ---local t --- ---local !> = t.x() ---]] -- cgit v1.2.3