diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-28 20:20:41 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-28 20:20:41 +0800 |
commit | d1274f277907b4b7e45dd018f5617708ea37636d (patch) | |
tree | d2a10cc5f7cc3aca34362f6cf24b67da377b4167 /server/test/diagnostics/init.lua | |
parent | 0bc67627a4409a08e34be0b44cba928cdacf8192 (diff) | |
download | lua-language-server-d1274f277907b4b7e45dd018f5617708ea37636d.zip |
检查重复field
Diffstat (limited to 'server/test/diagnostics/init.lua')
-rw-r--r-- | server/test/diagnostics/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 60c029bb..499ffe78 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -415,3 +415,14 @@ local function f(x, y) end f() ]] + +TEST [[ +---@field <!x Class!> +---@class Class +]] + +TEST [[ +---@class Class +---@field <!x!> Class +---@field <!x!> Class +]] |