From 9451329b33de1e7b69f2793ac5f94715826c9895 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:06:28 +0800 Subject: update --- test/definition/bug.lua | 8 ++++---- test/definition/function.lua | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/definition/bug.lua b/test/definition/bug.lua index ef7295d1..58c2ed59 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -262,7 +262,7 @@ TEST [[ ---@type B local t -local !> = t.x +t. ]] TEST [[ @@ -274,7 +274,7 @@ TEST [[ ---@type B local t -local !> = t.x +t. ]] TEST [[ @@ -286,7 +286,7 @@ function A:x() end ---@class B: A local B -function B:() end + ---@type B local t @@ -298,7 +298,7 @@ TEST [[ ---@class A local A -function A:() end + ---@class B: A local B diff --git a/test/definition/function.lua b/test/definition/function.lua index f5d32e78..95dd1b57 100644 --- a/test/definition/function.lua +++ b/test/definition/function.lua @@ -24,6 +24,6 @@ end ]] TEST [[ -local = function () end +local = () ]] -- cgit v1.2.3