From 22fde127dbc02ce329fdd2141af19b1729c368de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 7 Sep 2022 20:59:41 +0800 Subject: fix --- 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 afa53227..2da10f93 100644 --- a/test/definition/luadoc.lua +++ b/test/definition/luadoc.lua @@ -922,4 +922,14 @@ f { } ]] +TEST [[ +---@class A +local a +a.__index = a + +---@class B: A +local +b.!> = b +]] + config.set(nil, 'Lua.type.castNumberToInteger', true) -- cgit v1.2.3