From bf65753f457634d27f2cc4cc60ac68838ca0f9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 18 Dec 2022 06:13:57 +0800 Subject: supports finding definition for class and alias --- test/definition/luadoc.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/definition') diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua index ae2c8e61..b877f5cd 100644 --- a/test/definition/luadoc.lua +++ b/test/definition/luadoc.lua @@ -975,3 +975,15 @@ print(x.) ]] config.set(nil, 'Lua.type.castNumberToInteger', true) + +TEST [[ +---@class + +---@class !> +]] + +TEST [[ +---@alias number + +---@alias !> number +]] -- cgit v1.2.3