summaryrefslogtreecommitdiff
path: root/server/test/type_inference
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-14 17:28:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-14 17:28:07 +0800
commit8cde753ce395356a87db21221a90de60eb13be5a (patch)
tree9092329ad985f7ac6f85a96543fe0ea2147f8c60 /server/test/type_inference
parent657c25016e7c76012e21ff0729cd6c3bd6703ee5 (diff)
downloadlua-language-server-8cde753ce395356a87db21221a90de60eb13be5a.zip
修正in的解析bug
Diffstat (limited to 'server/test/type_inference')
-rw-r--r--server/test/type_inference/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/type_inference/init.lua b/server/test/type_inference/init.lua
index bb5add6e..820d00c9 100644
--- a/server/test/type_inference/init.lua
+++ b/server/test/type_inference/init.lua
@@ -172,3 +172,8 @@ local function x(a, ...)
end
local _, _, _, <?b?>, _ = x(nil, true, 1, 'yy')
]]
+
+TEST 'integer' [[
+for <?i?> in ipairs(t) do
+end
+]]