From b3a56126d4cf877cd2ed1a164e454b8c5a48252a Mon Sep 17 00:00:00 2001 From: Him188 Date: Wed, 15 Apr 2020 08:47:53 +0800 Subject: [PATCH] Change retention of SinceMirai to BINARY --- .../src/commonMain/kotlin/net.mamoe.mirai/utils/annotations.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/annotations.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/annotations.kt index a081c7ddf..e16eada27 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/annotations.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/annotations.kt @@ -46,7 +46,7 @@ annotation class MiraiExperimentalAPI( * 标记一个自 Mirai 某个版本起才支持或在这个版本修改过的 API. */ @Target(CLASS, PROPERTY, FIELD, CONSTRUCTOR, FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER, TYPEALIAS) -@Retention(AnnotationRetention.SOURCE) +@Retention(AnnotationRetention.BINARY) @MustBeDocumented annotation class SinceMirai(val version: String)