diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-24 21:44:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-24 21:44:24 +0800 |
commit | 3f300fc71445acd56b70ebc10255eab160b9c458 (patch) | |
tree | 19e2d6b8e9dd2a11490ecb0f7a6b1fb96f435688 /test | |
parent | ed32c90938dc1f44c8faa8a58fd3c4c4ad0c85e3 (diff) | |
download | lua-language-server-3f300fc71445acd56b70ebc10255eab160b9c458.zip |
fix #550
Diffstat (limited to 'test')
-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.$ |