diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt index 19b001d81..fc3deaf2e 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt @@ -139,7 +139,7 @@ class MessageSubscribersBuilder>( @MessageDsl suspend inline fun always(noinline onEvent: @MessageDsl suspend T.(String) -> Unit) { content({ true }, onEvent) - } // TODO: 2019/12/4 这些 onEvent 都应该为 crossinline, 而这会导致一个 CompilationException + } // TODO: 2019/12/4 这些 onEvent 都应该为 cross-inline, 而这会导致一个 CompilationException /** * 如果消息内容 `==` [equals], 就执行 [onEvent]