summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-16 17:00:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-16 17:00:56 +0800
commit15fa11654114e7451d64a726f6ad9d6abbd92b35 (patch)
tree6b4cf1e91f505713e5e4a21521567f16b14d5cfa /test/type_inference
parent158a7588081f480809e5d8b50ef098dc5ff70042 (diff)
downloadlua-language-server-15fa11654114e7451d64a726f6ad9d6abbd92b35.zip
improve type infer of recursion alias
Diffstat (limited to 'test/type_inference')
-rw-r--r--test/type_inference/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 9172ca92..4fbefd48 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -2552,21 +2552,21 @@ end
print(<?x?>)
]]
-TEST 'table<unknown, true>' [[
+TEST 'table<xxx, true>' [[
---@alias xxx table<xxx, true>
---@type xxx
local <?t?>
]]
-TEST 'unknown[][]' [[
+TEST 'xxx[][]' [[
---@alias xxx xxx[]
---@type xxx
local <?t?>
]]
-TEST 'fun(x: fun(x: unknown))' [[
+TEST 'fun(x: fun(x: xxx))' [[
---@alias xxx fun(x: xxx)
---@type xxx