summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-24 21:01:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-24 21:01:50 +0800
commit002ebe37bdc749b527dc6040a4512a3714334862 (patch)
treeda02e3482b30c0ee0ef3f52ea213527c8a77c715 /test
parent55bc394b5c8cc41380ff7e26729e850ecadde7ed (diff)
downloadlua-language-server-002ebe37bdc749b527dc6040a4512a3714334862.zip
fix
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 0ea6b96c..f2fd8dd7 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -822,3 +822,8 @@ local t = {'a', 'b'}
for k, <?v?> in pairs(t) do
end
]]
+
+TEST 'fun():number, boolean' [[
+---@type fun():number, boolean
+local <?t?>
+]]