diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-08 19:57:48 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-08 19:57:48 +0800 |
commit | 262e940659b9081f9579d5a8baa3f8491ece4754 (patch) | |
tree | dab75f2bb6ebf0adaff3b1c1d5cd0060c32a7f2f /test/signature | |
parent | 685dbe51d53733ca7b8d3d8c38477aa7e456e013 (diff) | |
download | lua-language-server-262e940659b9081f9579d5a8baa3f8491ece4754.zip |
fix #445
Diffstat (limited to 'test/signature')
-rw-r--r-- | test/signature/init.lua | 13 |
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}, +} |