mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Make dsl markers BINARY to be resolved
This commit is contained in:
parent
5dbf596582
commit
961bbfba53
@ -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) {
|
||||
|
@ -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
|
||||
}
|
||||
}
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user