diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 01:41:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 01:41:16 +0800 |
commit | 7b3e7f4b0a62b7c9c3b895e89b4fe79bb8f350ba (patch) | |
tree | ee441dc6545127e650c6fcf435c96d33079ac177 /test/type_inference | |
parent | d1e977ca8a6d72673649282bcd1973b1d279a8a1 (diff) | |
download | lua-language-server-7b3e7f4b0a62b7c9c3b895e89b4fe79bb8f350ba.zip |
fix
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index ad1df8e0..74ac7120 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(x, y):string ----@overload fun(x):number +---@overload fun(x: number, y: number):string +---@overload fun(x: number):number ---@return boolean local function f() end @@ -2940,8 +2940,8 @@ local n3 = f(0, 0) ]] TEST 'number' [[ ----@overload fun(x, y):string ----@overload fun(x):number +---@overload fun(x: number, y: number):string +---@overload fun(x: number):number ---@return boolean local function f() end @@ -2951,8 +2951,8 @@ local n3 = f(0, 0) ]] TEST 'string' [[ ----@overload fun(x, y):string ----@overload fun(x):number +---@overload fun(x: number, y: number):string +---@overload fun(x: number):number ---@return boolean local function f() end |