From 40e0d3595961913aff0405369ddc9cbec2f743d1 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, 26 Oct 2021 17:12:27 +0800 Subject: fix #753 --- test/hover/init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/hover/init.lua') diff --git a/test/hover/init.lua b/test/hover/init.lua index 0a05e1cc..36fbd6d2 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1714,3 +1714,12 @@ local t: A { y: number, } ]] + +TEST [[ +---@return nil +local function () end +]] +[[ +function f() + -> nil +]] -- cgit v1.2.3