From 54a97c8ebd12bee141eb5d0d0a3b92f9d411d0d5 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, 17 Nov 2020 15:44:43 +0800 Subject: =?UTF-8?q?lookup=20=E8=A6=81=20deep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-beta/hover/init.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test-beta') diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 6b316919..fb2bbf95 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -1346,7 +1346,7 @@ global t: c { TEST [[ ---@class c -t = {} +local t = {} ---@overload fun() function t.() end @@ -1356,6 +1356,18 @@ function t.() end (2) function c.f() ]] +TEST [[ +---@class c +t = {} + +---@overload fun() +function t.() end +]] +[[ +(2 个定义,1 个原型) +(2) function t.f() +]] + TEST [[ ---@class C ---@field field any -- cgit v1.2.3