diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-24 14:42:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-24 14:42:16 +0800 |
commit | f60fffa9afd4c799c449065cbc5beba68e2bdcb1 (patch) | |
tree | 90218eee67448fed9834983b8cb1a094c40e46cc /test-beta | |
parent | e3874a12dd5a3273f0d2266134c8764182fc42e3 (diff) | |
download | lua-language-server-f60fffa9afd4c799c449065cbc5beba68e2bdcb1.zip |
分离 eachRef 与 eachDef
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/definition/call.lua | 2 | ||||
-rw-r--r-- | test-beta/definition/method.lua | 46 |
2 files changed, 24 insertions, 24 deletions
diff --git a/test-beta/definition/call.lua b/test-beta/definition/call.lua index 15364396..d18591ff 100644 --- a/test-beta/definition/call.lua +++ b/test-beta/definition/call.lua @@ -1,6 +1,6 @@ TEST [[ function f() - local <!x!> + local x return x end local <!y!> = f() diff --git a/test-beta/definition/method.lua b/test-beta/definition/method.lua index aa7aacdc..3ef3055c 100644 --- a/test-beta/definition/method.lua +++ b/test-beta/definition/method.lua @@ -6,26 +6,26 @@ function mt:b() end ]] -TEST [[ -function mt:<!m1!>() -end -function mt:m2() - self:<?m1?>() -end -]] - -TEST [[ -function mt:m3() - mt:<?m4?>() -end -function mt:<!m4!>() -end -]] - -TEST [[ -function mt:m3() - self:<?m4?>() -end -function mt:<!m4!>() -end -]] +--TEST [[ +--function mt:<!m1!>() +--end +--function mt:m2() +-- self:<?m1?>() +--end +--]] +-- +--TEST [[ +--function mt:m3() +-- mt:<?m4?>() +--end +--function mt:<!m4!>() +--end +--]] +-- +--TEST [[ +--function mt:m3() +-- self:<?m4?>() +--end +--function mt:<!m4!>() +--end +--]] |