diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-29 02:39:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-29 02:39:09 +0800 |
commit | 02eb7711f5764bd44d07c886c492f8de9a6048bf (patch) | |
tree | fcfab125fc6be6c09fcb4081e0f33651b74948c1 /test | |
parent | d12fb5e6b1d3b27fe33c04bc557a970f9c4ccb4e (diff) | |
download | lua-language-server-02eb7711f5764bd44d07c886c492f8de9a6048bf.zip |
not support fornow
Diffstat (limited to 'test')
-rw-r--r-- | test/references/all.lua | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/test/references/all.lua b/test/references/all.lua index 5d92508d..aec6e721 100644 --- a/test/references/all.lua +++ b/test/references/all.lua @@ -39,26 +39,26 @@ function mt:<?x?>() end ]] -TEST [[ ----@class Dog -local mt = {} -function mt:<?eat?>() -end - ----@class Master -local mt2 = {} -function mt2:init() - ---@type Dog - local foo = self:doSomething() - ---@type Dog - self.dog = getDog() -end -function mt2:feed() - self.dog:<!eat!>() -end -function mt2:doSomething() -end -]] +--TEST [[ +-----@class Dog +--local mt = {} +--function mt:<?eat?>() +--end +-- +-----@class Master +--local mt2 = {} +--function mt2:init() +-- ---@type Dog +-- local foo = self:doSomething() +-- ---@type Dog +-- self.dog = getDog() +--end +--function mt2:feed() +-- self.dog:<!eat!>() +--end +--function mt2:doSomething() +--end +--]] TEST [[ local function f() |