diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-16 21:50:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-16 21:50:29 +0800 |
commit | fa518d4f9522b38aca9478ac494e9523cca475f3 (patch) | |
tree | b82261ecb612e15c9fa9a8381839898dbab3149a /test/diagnostics/common.lua | |
parent | cd6b80d6126a785c4407e118c13388db537d6bf3 (diff) | |
download | lua-language-server-fa518d4f9522b38aca9478ac494e9523cca475f3.zip |
fix #1057
Diffstat (limited to 'test/diagnostics/common.lua')
-rw-r--r-- | test/diagnostics/common.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 6aa1dd6a..56ad0d59 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1387,3 +1387,11 @@ local value value = '1' value = value:gsub() ]] + +TEST [[ +T = {} +---@deprecated # comment +T.x = 1 + +print(<!T.x!>) +]] |