summaryrefslogtreecommitdiff
path: root/test/signature
diff options
context:
space:
mode:
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},
+}