diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-23 15:48:48 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-23 15:48:48 +0800 |
commit | 7ed999a6af7ca021d577a1853efb1d11916d34f9 (patch) | |
tree | d94b890590216c0ad2dc878eb2c91985cd909586 /test-beta | |
parent | bb337bbf6c62076de5425966ea41b3cbed6bb987 (diff) | |
download | lua-language-server-7ed999a6af7ca021d577a1853efb1d11916d34f9.zip |
修正计算函数接收参数数量的bug
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/diagnostics/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-beta/diagnostics/init.lua b/test-beta/diagnostics/init.lua index 87da8efa..4f507834 100644 --- a/test-beta/diagnostics/init.lua +++ b/test-beta/diagnostics/init.lua @@ -494,6 +494,14 @@ m:open() ]] TEST [[ +local m = {} +function m:open() +end + +m.open('ok') +]] + +TEST [[ <!if true then end!> ]] |