diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-28 10:51:59 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-28 10:51:59 +0800 |
commit | fdbc780ec38812ad4f63dc1a5cbda2c0d07f7003 (patch) | |
tree | b7e8528299ad9e0c6d8d228bc11e22bf5493dd6a /server/test | |
parent | ec3eb3c504e2c13bec721fbe521ec2ac43ce7820 (diff) | |
download | lua-language-server-fdbc780ec38812ad4f63dc1a5cbda2c0d07f7003.zip |
实现emmy.return
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/hover/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua index 639789e0..4b4d0c25 100644 --- a/server/test/hover/init.lua +++ b/server/test/hover/init.lua @@ -597,3 +597,14 @@ end [[ local v<value>: *Class {} ]] + +TEST [[ +---@return A|B +---@return C +local function <?f?>() +end +]] +[[ +function f() + -> A|B, C +]] |