From b841b2668dd7d36cbf42c3f261e69e2a70358c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 19 Nov 2020 15:51:13 +0800 Subject: =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=85=A8=E5=B1=80=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-beta/definition/luadoc.lua | 2 +- test-beta/references/init.lua | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'test-beta') diff --git a/test-beta/definition/luadoc.lua b/test-beta/definition/luadoc.lua index 41331c48..9360e27c 100644 --- a/test-beta/definition/luadoc.lua +++ b/test-beta/definition/luadoc.lua @@ -92,7 +92,7 @@ function t(?>) end ]] TEST [[ ----@overload +---@overload fun(y: boolean) ---@param x number ---@param y boolean ---@param z string diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua index eeae5f46..835a0764 100644 --- a/test-beta/references/init.lua +++ b/test-beta/references/init.lua @@ -242,18 +242,21 @@ print(t.) ]] TEST [[ +local local = ]] TEST [[ +local a. = ]] TEST [[ -. = +.f = ]] TEST [[ +local local = ]] -- cgit v1.2.3