summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-28 12:10:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-28 12:10:01 +0800
commitd0ac1fdf3c0ee6b9b04ac69eaeb3c2336381ab14 (patch)
tree9a949da2ef88c8493e9e6bd606e5617e97715786 /test
parentbea414d6baff2666030577311a6b6130ec3d9861 (diff)
downloadlua-language-server-d0ac1fdf3c0ee6b9b04ac69eaeb3c2336381ab14.zip
stash
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 13efbc59..e0c7b5c8 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -871,3 +871,10 @@ for _, a in ipairs(v) do
end
end
]]
+
+--TEST 'number' [[
+-----@param x number
+--local f
+--
+--f = function (<?x?>) end
+--]]