From 217aa4e586b1786bc6b82828279b745a29290f4d Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Tue, 5 Jan 2021 20:50:51 +0800 Subject: =?UTF-8?q?=E9=80=9A=E8=BF=87=E6=89=A9=E5=B1=95=20getArrayLevel=20?= =?UTF-8?q?=E6=9D=A5=E6=89=BE=E5=88=B0=E5=B1=82=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/definition/luadoc.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/definition') diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua index 3c0c764b..5315b5fd 100644 --- a/test/definition/luadoc.lua +++ b/test/definition/luadoc.lua @@ -331,3 +331,13 @@ for i, v in ipairs(v1) do print(v2.) end ]] + +TEST [[ +---@class Foo +local Foo = {} +function Foo:() end + +---@type table> +local v1 +print(v1[1][1].) +]] -- cgit v1.2.3