summaryrefslogtreecommitdiff
path: root/test/signature
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-08 19:57:48 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-08 19:57:48 +0800
commit262e940659b9081f9579d5a8baa3f8491ece4754 (patch)
treedab75f2bb6ebf0adaff3b1c1d5cd0060c32a7f2f /test/signature
parent685dbe51d53733ca7b8d3d8c38477aa7e456e013 (diff)
downloadlua-language-server-262e940659b9081f9579d5a8baa3f8491ece4754.zip
fix #445
Diffstat (limited to 'test/signature')
-rw-r--r--test/signature/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index c7483c87..372709e3 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -214,3 +214,16 @@ function pairs(t: <T>)
]],
arg = {16, 21},
}
+
+TEST [[
+function m:f()
+end
+
+m.f($)
+]]
+{
+ label = [[
+function m.f(self: table)
+]],
+ arg = {14, 24},
+}