diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-05 21:32:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-05 21:32:20 +0800 |
commit | ee1fd6ecca105f554ac8f7888e4f951c47f9e967 (patch) | |
tree | dc2c0330a0a4e46ca0e347102ba59f7e427fe132 /test/type_inference | |
parent | 9e01f8d8eb7a408b45fce7a6231c690fede87da0 (diff) | |
download | lua-language-server-ee1fd6ecca105f554ac8f7888e4f951c47f9e967.zip |
fix #625
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index a3a06bfd..a20a96e9 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -901,3 +901,13 @@ local t local <?v?> = t[1] ]] + +TEST 'string' [[ +---@type string[][] +local v = {} + +for _, a in ipairs(v) do + for i, <?b?> in ipairs(a) do + end +end +]] |