diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-17 23:02:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-17 23:02:55 +0800 |
commit | 7b35e39b5eae7c3445cd9ec4d16637185bc26b93 (patch) | |
tree | bca60e22add049e5cd7c95bed65a0775244946bb /test | |
parent | 166504aa87a5b2f7fe6bd41b2c572afccb717534 (diff) | |
download | lua-language-server-7b35e39b5eae7c3445cd9ec4d16637185bc26b93.zip |
update
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/common.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 704ac9e5..7ca476d7 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1007,7 +1007,7 @@ function mt2:method2() end local v ---@type Bar local v2 -<!v2!> = v +v2 = v v2:<!method1!>() v2:method2() ]] @@ -1668,12 +1668,10 @@ x = nil TEST [[ ---@diagnostic disable: unused-local ----@class A - ----@type A +---@type string local x -x = nil +<?x?> = nil ]] TEST [[ @@ -1748,7 +1746,6 @@ end x = f() ]] - TEST [[ ---@diagnostic disable: unused-local |