From 262e940659b9081f9579d5a8baa3f8491ece4754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 8 Mar 2021 19:57:48 +0800 Subject: fix #445 --- test/signature/init.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/signature') 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: ) ]], arg = {16, 21}, } + +TEST [[ +function m:f() +end + +m.f($) +]] +{ + label = [[ +function m.f(self: table) +]], + arg = {14, 24}, +} -- cgit v1.2.3