summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-14 16:42:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-14 16:42:18 +0800
commit113ddccfec2264eb0c500a396bb4bb7ec6729373 (patch)
treecf4fd3bd4d39d1bcd4c54672f50c2c6c5975a531 /test
parent16f82a8dc52e03f5cf9089d41f783917796b0650 (diff)
downloadlua-language-server-113ddccfec2264eb0c500a396bb4bb7ec6729373.zip
fix infer of `class[][]`
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 77440cf6..b5d4db16 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -889,3 +889,8 @@ local t
<?t?>:getOwner()
]]
+
+TEST 'string[][]' [[
+---@type string[][]
+local <?t?>
+]]