summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-10-23 19:16:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-10-23 19:16:10 +0800
commitd38838450ffe2962acbe63836ecad76eb6adaa2f (patch)
tree888558c3cfdc44e427e0f558d071897e38368f18 /test/type_inference/init.lua
parent2873ccae1dfb1d429a84262f10c87f1d437135c6 (diff)
downloadlua-language-server-d38838450ffe2962acbe63836ecad76eb6adaa2f.zip
Revert "infer parameter type by return"
This reverts commit 2873ccae1dfb1d429a84262f10c87f1d437135c6.
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r--test/type_inference/init.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 33704c1a..de42a91d 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -3858,11 +3858,3 @@ local cb
local <?arr?> = x(cb)
]]
-
-TEST 'integer' [[
----@return fun(x: integer)
-local function f()
- return function (<?x?>)
- end
-end
-]]