summaryrefslogtreecommitdiff
path: root/test/signature
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-19 22:22:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-19 22:22:51 +0800
commit2fb905253c4e3ae78269bcb500bc4f219df77eb7 (patch)
tree15ffad7cc670df25d975376cb3d6ae6ae2206306 /test/signature
parent9b6cd44394532d6cc5897a03022d94ed58bc2167 (diff)
downloadlua-language-server-2fb905253c4e3ae78269bcb500bc4f219df77eb7.zip
fix #310
Diffstat (limited to 'test/signature')
-rw-r--r--test/signature/init.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index 765e0814..fca995bd 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -174,3 +174,19 @@ function Foo(param01: any, param02: any)
]],
arg = {14, 25},
}
+
+TEST [[
+function f1(a, b)
+end
+
+function f2(c, d)
+end
+
+f2(f1(),$)
+]]
+{
+ label = [[
+function f2(c: any, d: any)
+]],
+ arg = {21, 26},
+}