diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-09-24 20:45:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-09-24 20:45:45 +0800 |
commit | ff4f52962550da919b737f0f78bbaa4a507d6ba9 (patch) | |
tree | b6d6e3f6224ac81cec6195f43a2fe238a60a3eee /server-beta/test/definition/arg.lua | |
parent | 5c8022df4adaaf813812845f97d9cb9d7c6d4fcc (diff) | |
download | lua-language-server-ff4f52962550da919b737f0f78bbaa4a507d6ba9.zip |
导入测试
Diffstat (limited to 'server-beta/test/definition/arg.lua')
-rw-r--r-- | server-beta/test/definition/arg.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/server-beta/test/definition/arg.lua b/server-beta/test/definition/arg.lua new file mode 100644 index 00000000..9e88b2bf --- /dev/null +++ b/server-beta/test/definition/arg.lua @@ -0,0 +1,19 @@ +TEST [[ +local function xx (<!xx!>) + <?xx?>() +end +]] + +TEST [[ +local <!mt!> +function mt:x() + <?self?>() +end +mt:x() +]] + +TEST [[ +function mt:x(<!self!>) + <?self?>() +end +]] |