summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-25 23:31:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-25 23:31:36 +0800
commit24e213e8620508920d69406164c5a5ea30a97abb (patch)
treeab400a392ec1b12e8af0c03571931a5b61f9227f /test
parentd74aba7d2372d3f151bb53b27adccd01509d88f6 (diff)
downloadlua-language-server-24e213e8620508920d69406164c5a5ea30a97abb.zip
fix #1367
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 162841ac..5f71dfa2 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -3755,3 +3755,9 @@ function F(...)
end
end
]]
+
+TEST 'integerA' [[
+---@type integerA
+for <?i?> = 1, 10 do
+end
+]]