summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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?>
+]]