Add @DeprecatedSinceMirai, close #1669

This commit is contained in:
Him188 2021-11-26 17:40:38 +00:00
parent 64920a399e
commit a8e3916261

View File

@ -15,4 +15,13 @@ import kotlin.annotation.AnnotationTarget.*
@RequiresOptIn("This can only be used in tests.", level = ERROR)
@Target(CLASS, FUNCTION, PROPERTY, CLASS, CONSTRUCTOR, FUNCTION)
public annotation class TestOnly
public annotation class TestOnly
/**
* @since 2.9.0-RC
*/ // https://github.com/mamoe/mirai/issues/1669
public annotation class DeprecatedSinceMirai(
val warningSince: String = "",
val errorSince: String = "",
val hiddenSince: String = ""
)