diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-12-18 06:13:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-12-18 06:13:57 +0800 |
commit | bf65753f457634d27f2cc4cc60ac68838ca0f9b5 (patch) | |
tree | 6ec069b920cc87535eb7dae70a9851af6513b0a1 /test/definition | |
parent | 02033e06a883f3cab1f0758eff5f2f5203d9ab48 (diff) | |
download | lua-language-server-bf65753f457634d27f2cc4cc60ac68838ca0f9b5.zip |
supports finding definition for class and alias
Diffstat (limited to 'test/definition')
-rw-r--r-- | test/definition/luadoc.lua | 12 |
1 files changed, 12 insertions, 0 deletions
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.<?a?>) ]] config.set(nil, 'Lua.type.castNumberToInteger', true) + +TEST [[ +---@class <!A!> + +---@class <!<?A?>!> +]] + +TEST [[ +---@alias <!A!> number + +---@alias <!<?A?>!> number +]] |