summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-24 16:40:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-24 16:40:51 +0800
commit73877202eca3f7e54d21cd04fa7bcc2daed3377d (patch)
tree722d80fedaa8174388a71972cdb915c98719210e /test
parent6e6581b506990d46c5df8e0a6125df90fed2925f (diff)
downloadlua-language-server-73877202eca3f7e54d21cd04fa7bcc2daed3377d.zip
#419 remove trigger char `\n` for now, see #401
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 8b792826..9182731b 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -390,3 +390,18 @@ TEST 'integer' [[
for <?i?> in ipairs() do
end
]]
+
+-- TODO
+--TEST 'string' [[
+-----@type table<string, boolean>
+--local t
+--for <?k?>, v in ipairs(t) do
+--end
+--]]
+--
+--TEST 'boolean' [[
+-----@type table<string, boolean>
+--local t
+--for k, <?v?> in ipairs(t) do
+--end
+--]]