summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-01-24 15:13:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-01-24 15:15:21 +0800
commit89edbfaffe7dbbcc4fda2c22fa64ae078fd6ead9 (patch)
tree4a5fb8de64feb8c38649e68d9fa07d157dd45edc /test/hover
parentdcacfe7c899de9232bc51f9f8f055423823f2edb (diff)
downloadlua-language-server-89edbfaffe7dbbcc4fda2c22fa64ae078fd6ead9.zip
Revert "Merge pull request #2481 from fesily/automatic-derivation-function-param-type"
This reverts commit 34319c7990cba47ddc00e77aabfccbb923f84e26, reversing changes made to ef7157c450254b0ee447960b0cb06d6f1b0dbaaa.
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 851443ec..63220a59 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -276,7 +276,7 @@ function string.lower(s: string|number)
-> string
]]
--- 根据传入值推测参数类型
+-- 不根据传入值推测参数类型
TEST [[
local function x(a, ...)
end
@@ -284,7 +284,7 @@ end
<?x?>(1, 2, 3, 4, 5, 6, 7)
]]
[[
-function x(a: integer, ...any)
+function x(a: any, ...any)
]]
TEST [[