diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-18 01:07:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-18 01:07:30 +0800 |
commit | dca751cf110a96a351c8cadc049ac364dc41a4dd (patch) | |
tree | 785d41633d4ee6bfa3e97ec25043c5cedbc6da28 /test/hover | |
parent | 04c671114d1d4c4bcfbad74c8341b24844552865 (diff) | |
download | lua-language-server-dca751cf110a96a351c8cadc049ac364dc41a4dd.zip |
#1255
diagnostic for enum
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 0954ac80..95764923 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -2120,3 +2120,13 @@ local <?s?> [[ local s: 'a' ]] + +TEST [[ +---@enum <?A?> +local m = { + x = 1, +} +]] +[[ +(enum) A +]] |