diff options
Diffstat (limited to 'test/definition/luadoc.lua')
-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 +]] |