diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-24 20:37:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-24 20:37:15 +0800 |
commit | 721d6fe207fe0fb4eaa16252e451814e61011c4a (patch) | |
tree | 9908c0633f382446d4c36eb2f67e6457675e5a4e /test/hover | |
parent | 934ab8bf64a29d44da10dee3b6f68b7b49931b3e (diff) | |
download | lua-language-server-721d6fe207fe0fb4eaa16252e451814e61011c4a.zip |
update
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index d0e50036..adfa00bf 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -54,39 +54,39 @@ obj:<?init?>(1, '测试') function mt:init(a: any, b: any, c: any) ]] -TEST [[ -local mt = {} -mt.__index = mt -mt.type = 'Class' - -function mt:init(a, b, c) - return -end - -local obj = setmetatable({}, mt) - -obj:<?init?>(1, '测试') -]] -[[ -function Class:init(a: any, b: any, c: any) -]] - -TEST [[ -local mt = {} -mt.__index = mt -mt.__name = 'Class' - -function mt:init(a, b, c) - return -end - -local obj = setmetatable({}, mt) +--TEST [[ +--local mt = {} +--mt.__index = mt +--mt.type = 'Class' +-- +--function mt:init(a, b, c) +-- return +--end +-- +--local obj = setmetatable({}, mt) +-- +--obj:<?init?>(1, '测试') +--]] +--[[ +--function Class:init(a: any, b: any, c: any) +--]] -obj:<?init?>(1, '测试') -]] -[[ -function Class:init(a: any, b: any, c: any) -]] +--TEST [[ +--local mt = {} +--mt.__index = mt +--mt.__name = 'Class' +-- +--function mt:init(a, b, c) +-- return +--end +-- +--local obj = setmetatable({}, mt) +-- +--obj:<?init?>(1, '测试') +--]] +--[[ +--function Class:init(a: any, b: any, c: any) +--]] TEST [[ local mt = {} |