summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-21 20:45:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-21 20:45:23 +0800
commit317bced17780ebdeed67ed17590b7e2598b2b55a (patch)
treefaa924c96bfbe9305434de0ca70e6649fd0d8113 /test/type_inference/init.lua
parentbb1244fa62c0158490d2e54da0a19f28f16fe994 (diff)
downloadlua-language-server-317bced17780ebdeed67ed17590b7e2598b2b55a.zip
update
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r--test/type_inference/init.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 394ce263..ad1df8e0 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -2929,8 +2929,8 @@ local <?x?> = f(r1())
]]
TEST 'boolean' [[
----@overload fun(number, number):string
----@overload fun(number):number
+---@overload fun(x, y):string
+---@overload fun(x):number
---@return boolean
local function f() end
@@ -2940,8 +2940,8 @@ local n3 = f(0, 0)
]]
TEST 'number' [[
----@overload fun(number, number):string
----@overload fun(number):number
+---@overload fun(x, y):string
+---@overload fun(x):number
---@return boolean
local function f() end
@@ -2951,8 +2951,8 @@ local n3 = f(0, 0)
]]
TEST 'string' [[
----@overload fun(number, number):string
----@overload fun(number):number
+---@overload fun(x, y):string
+---@overload fun(x):number
---@return boolean
local function f() end