diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-04 16:06:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-04 16:06:28 +0800 |
commit | 9451329b33de1e7b69f2793ac5f94715826c9895 (patch) | |
tree | 5699d9bae02f77724eb906ce863afaa72a424f62 /test/definition | |
parent | 57a164bf73714f5a4f9d3eb65eb0f0361d21eed7 (diff) | |
download | lua-language-server-9451329b33de1e7b69f2793ac5f94715826c9895.zip |
update
Diffstat (limited to 'test/definition')
-rw-r--r-- | test/definition/bug.lua | 8 | ||||
-rw-r--r-- | test/definition/function.lua | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua index ef7295d1..58c2ed59 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -262,7 +262,7 @@ TEST [[ ---@type B local t -local <!<?v?>!> = t.x +t.<?x?> ]] TEST [[ @@ -274,7 +274,7 @@ TEST [[ ---@type B local t -local <!<?v?>!> = t.x +t.<?x?> ]] TEST [[ @@ -286,7 +286,7 @@ function A:x() end ---@class B: A local B -function B:<!x!>() end +<!function B:x() end!> ---@type B local t @@ -298,7 +298,7 @@ TEST [[ ---@class A local A -function A:<!x!>() end +<!function A:x() end!> ---@class B: A local B diff --git a/test/definition/function.lua b/test/definition/function.lua index f5d32e78..95dd1b57 100644 --- a/test/definition/function.lua +++ b/test/definition/function.lua @@ -24,6 +24,6 @@ end ]] TEST [[ -local <!f!> = function () end +local <!f!> = <!function () end!> <?f?>() ]] |