diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-08-18 16:48:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-08-18 16:48:10 +0800 |
commit | 8f2ce1024c5ea43e11137a398171c01642b2ea1a (patch) | |
tree | efa2d98b2a354c6b34a2271676d23bb8c3411a6c /test-beta/definition | |
parent | 332ba28abb7dfe6f45242c978376b3b88c720284 (diff) | |
download | lua-language-server-8f2ce1024c5ea43e11137a398171c01642b2ea1a.zip |
更新测试
Diffstat (limited to 'test-beta/definition')
-rw-r--r-- | test-beta/definition/bug.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test-beta/definition/bug.lua b/test-beta/definition/bug.lua index c9f3f70d..9bd4b12f 100644 --- a/test-beta/definition/bug.lua +++ b/test-beta/definition/bug.lua @@ -100,3 +100,17 @@ TEST [[ local a = os.clock() local <?<!b!>?> = os.clock() ]] + +TEST [[ +local mt = {} + +function mt:<!add!>(a, b) +end + +local function init() + return mt +end + +local t = init() +t:<?add?>() +]] |