summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-01 19:00:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-01 19:00:18 +0800
commit1938e690dae0aa2028f8fce6564486f02dd73c5f (patch)
treedb560500eaddf0bda81c6e7fc0497314bde3f307 /test
parentd699b4cac83b81b023323076b74d3d03b6b13ee6 (diff)
downloadlua-language-server-1938e690dae0aa2028f8fce6564486f02dd73c5f.zip
update
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 1a2c4593..0d88553c 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -1351,3 +1351,8 @@ local t
local <?v?> = t.x()
]]
+
+TEST 'function' [[
+---@overload fun()
+function <?f?>() end
+]]