From 8b442ab6296435ae3a949b70b0abac02d75b8741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 18 Apr 2024 15:03:36 +0800 Subject: =?UTF-8?q?=E5=A6=82=E6=9E=9C=E6=9C=89=20merge=20=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=EF=BC=8C=E5=88=99=E8=B7=B3=E8=BF=87=20`duplicate-doc-?= =?UTF-8?q?alias`=20=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/diagnostics/duplicate-doc-alias.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/diagnostics') diff --git a/test/diagnostics/duplicate-doc-alias.lua b/test/diagnostics/duplicate-doc-alias.lua index 0373fee9..5a208e3e 100644 --- a/test/diagnostics/duplicate-doc-alias.lua +++ b/test/diagnostics/duplicate-doc-alias.lua @@ -8,3 +8,14 @@ TEST [[ ---@class B ---@alias B ]] + +TEST [[ +---@alias A integer +---@alias(merge) A integer + +---@enum B +---@enum(merge) B + +---@enum(key) C +---@enum(key, merge) C +]] -- cgit v1.2.3