diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-11 12:49:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-11 12:49:20 +0800 |
commit | 287fcf6bfadc45a4ad835b9cba2d9c33a35e8daf (patch) | |
tree | d47ef4cc815f089df3fffd8d64968a8105469e0a /test-beta/hover | |
parent | cfe1bbb6c2461e85b19c4190bc63160f447acc75 (diff) | |
download | lua-language-server-287fcf6bfadc45a4ad835b9cba2d9c33a35e8daf.zip |
修正函数的第二个返回值显示错误的问题
Diffstat (limited to 'test-beta/hover')
-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 6e456cae..ecab266e 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -613,6 +613,17 @@ local t: { } ]] +TEST [[ +local function <?f?>() + return nil, nil +end +]] +[[ +function f() + -> nil + 2. nil +]] + --TEST[[ -----@class Class --local <?x?> = class() |