diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-10-25 03:46:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-10-25 03:46:13 +0800 |
commit | 5f44a531dad2d9749b2275f16fe4e34e8d360df6 (patch) | |
tree | 07719d47e86aee7562aeb2d5def5c144ca7d8e1e /test | |
parent | 1fa488082ad6748d9dbf7c02ed0c85b578192ee7 (diff) | |
download | lua-language-server-5f44a531dad2d9749b2275f16fe4e34e8d360df6.zip |
fix
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/common.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 2ff0cd5f..4194fcdc 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -2186,3 +2186,13 @@ local t2 print(t2._id) ]] config.set(nil, 'Lua.doc.protectedName', nil) + +TEST [[ +---@class A +---@field private x number +local mt = {} + +function mt:init() + print(self.x) +end +]] |