diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-20 21:57:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-20 21:57:09 +0800 |
commit | 4ca61ec457822dd14966afa0752340ae8ce180a1 (patch) | |
tree | ae8adb1ad82c717868e551e699fd3cf3bb290089 /test/definition/arg.lua | |
parent | c63b2e404d8d2bb984afe3678a5ba2b2836380cc (diff) | |
download | lua-language-server-4ca61ec457822dd14966afa0752340ae8ce180a1.zip |
no longer beta
Diffstat (limited to 'test/definition/arg.lua')
-rw-r--r-- | test/definition/arg.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/definition/arg.lua b/test/definition/arg.lua new file mode 100644 index 00000000..9e88b2bf --- /dev/null +++ b/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 +]] |