Make dsl markers BINARY to be resolved

This commit is contained in:
Him188 2020-09-18 01:50:41 +08:00
parent 5dbf596582
commit 961bbfba53
3 changed files with 5 additions and 5 deletions

View File

@ -221,9 +221,9 @@ internal object MiraiConsoleImplementationBridge : CoroutineScope, MiraiConsoleI
}
@Suppress("SpellCheckingInspection")
@Retention(AnnotationRetention.SOURCE)
@Retention(AnnotationRetention.BINARY)
@DslMarker
private annotation class ILoveOmaeKumikoForever
internal annotation class ILoveOmaeKumikoForever
@ILoveOmaeKumikoForever
private inline fun phase(block: () -> Unit) {

View File

@ -235,8 +235,8 @@ public sealed class VersionRequirement {
}
@Suppress("SpellCheckingInspection")
@Retention(AnnotationRetention.SOURCE)
@Retention(AnnotationRetention.BINARY)
@DslMarker
private annotation class ILoveKafuuChinoForever
internal annotation class ILoveKafuuChinoForever
}
}

View File

@ -226,7 +226,7 @@ constructor(
* 标注一个 [JvmPluginDescription] DSL
*/
@Suppress("SpellCheckingInspection")
@Retention(AnnotationRetention.SOURCE)
@Retention(AnnotationRetention.BINARY)
@DslMarker
internal annotation class ILoveKuriyamaMiraiForever // https://zh.moegirl.org.cn/zh-cn/%E6%A0%97%E5%B1%B1%E6%9C%AA%E6%9D%A5
}