summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-24 16:19:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-24 16:19:18 +0800
commit6e6581b506990d46c5df8e0a6125df90fed2925f (patch)
treee441954eb183e85edb6bb1e363d205219caefefc /test
parentc4823a03b7d7ac6927a1c88859f204874b29a571 (diff)
downloadlua-language-server-6e6581b506990d46c5df8e0a6125df90fed2925f.zip
improve infer cross `ipairs`
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 51b9f018..8b792826 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -385,3 +385,8 @@ local t = {}
print(t.<?a?>)
]]
+
+TEST 'integer' [[
+for <?i?> in ipairs() do
+end
+]]