diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 17:11:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 17:11:20 +0800 |
commit | 2687363810809f350038acfab2f52f27a3dc51a2 (patch) | |
tree | ed90b24e07e5ce2ec3a096f3b2b459c1d677fb19 /test/definition/arg.lua | |
parent | c28a101f62fe7a118baa3eeccf13839249cae760 (diff) | |
download | lua-language-server-2687363810809f350038acfab2f52f27a3dc51a2.zip |
支持参数
Diffstat (limited to 'test/definition/arg.lua')
-rw-r--r-- | test/definition/arg.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/definition/arg.lua b/test/definition/arg.lua new file mode 100644 index 00000000..e1ce0891 --- /dev/null +++ b/test/definition/arg.lua @@ -0,0 +1,11 @@ +TEST [[ +local function x (<!x!>) + <?x?> = 1 +end +]] + +TEST [[ +local function x (x, <!...!>) + x = <?...?> +end +]] |