diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-16 17:21:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-16 17:21:56 +0800 |
commit | e2267cae6f1b9300387d2e97b7dfb5eed80bc7f4 (patch) | |
tree | fa4b88675361ab79fa4bed4ebd721a6b17db07c9 /test/definition | |
parent | b2f02681993eb0f38468767255d8a7ba71fadc72 (diff) | |
download | lua-language-server-e2267cae6f1b9300387d2e97b7dfb5eed80bc7f4.zip |
improve
Diffstat (limited to 'test/definition')
-rw-r--r-- | test/definition/bug.lua | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua index de67a8f4..6d716471 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -153,22 +153,22 @@ string.xx = '' string.xx:<?format?>() ]] -TEST [[ ----@class Foo -Foo = {} -function Foo:Constructor() - self.<!bar1!> = 1 -end - ----@class Foo2: Foo -Foo2 = {} -function Foo2:Constructor() -end - ----@type Foo2 -local v -v.<?bar1?> -]] +--TEST [[ +-----@class Foo +--Foo = {} +--function Foo:Constructor() +-- self.<!bar1!> = 1 +--end +-- +-----@class Foo2: Foo +--Foo2 = {} +--function Foo2:Constructor() +--end +-- +-----@type Foo2 +--local v +--v.<?bar1?> +--]] TEST [[ local A, B |