diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 16:18:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 16:18:04 +0800 |
commit | 037ca353813715ae14994b0f92a5cf6014e74fa8 (patch) | |
tree | 46ba53517b003253aa23c9f3cc4eca8039bbb45e /test-beta/hover/init.lua | |
parent | 3b79c23262e11d24b410bb3125a17b73c1483686 (diff) | |
download | lua-language-server-037ca353813715ae14994b0f92a5cf6014e74fa8.zip |
修正函数返回值合并不正确的问题
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r-- | test-beta/hover/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 58f61094..b5889153 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -695,6 +695,17 @@ local x: nil ]] TEST [[ +local function <?f?>() + return 1 + return nil +end +]] +[[ +function f() + -> integer|nil +]] + +TEST [[ local <?t?> = { b = 1, c = 2, |