From dca751cf110a96a351c8cadc049ac364dc41a4dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 18 Jul 2022 01:07:30 +0800 Subject: #1255 diagnostic for enum --- test/hover/init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/hover') 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 [[ local s: 'a' ]] + +TEST [[ +---@enum +local m = { + x = 1, +} +]] +[[ +(enum) A +]] -- cgit v1.2.3