summaryrefslogtreecommitdiff
path: root/test/signature
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-16 03:41:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-16 03:41:19 +0800
commit6c5594a2026604d47d3c94ae07d0514b6616d63b (patch)
tree3486fcc8535960f8054b46ae8bee5353f04834f9 /test/signature
parent1407055930f23b06fbe9a6cc29cc9e54b1356783 (diff)
downloadlua-language-server-6c5594a2026604d47d3c94ae07d0514b6616d63b.zip
fix
Diffstat (limited to 'test/signature')
-rw-r--r--test/signature/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index 701df286..0b750cd6 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -222,3 +222,9 @@ fooC(function (x, s)
end,<??>)
]]
'function fooC(callback: fun(x: number, s: string):nil, <!par: number!>)'
+
+TEST [[
+(function (a, b)
+end)(<??>)
+]]
+'function (<!a: any!>, b: any)'