diff options
Diffstat (limited to 'test/completion/init.lua')
-rw-r--r-- | test/completion/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index dde4b559..80a4aae5 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -2464,6 +2464,17 @@ api({$}) (EXISTS) TEST [[ +---@class A +---@field a '"hello"'|'"world"' + +---@param t A +function m:api(t) end + +m:api({$}) +]] +(EXISTS) + +TEST [[ ---@class AAA.BBB ---@type AAA.$ |