From f894c6cc289fbe3d22fb3c77b61503b9b2f23270 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 23 Feb 2020 14:00:07 +0800 Subject: [PATCH] Remove DslMarker so as not to pollute namespace --- .../src/commonMain/kotlin/net.mamoe.mirai/message/data/XML.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/XML.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/XML.kt index 27a4829d3..83bd973a5 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/XML.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/XML.kt @@ -32,7 +32,6 @@ inline class XMLMessage(val stringValue: String) : Message, /** * 构造一条 XML 消息 */ -@XMLDsl @MiraiExperimentalAPI("还未支持") inline fun buildXMLMessage(block: @XMLDsl XMLMessageBuilder.() -> Unit): XMLMessage = XMLMessage(XMLMessageBuilder().apply(block).text)