From 2c72b525446041fc11dddbf66467b5f1bc138e1c Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 15 Dec 2019 15:21:52 +0800 Subject: [PATCH] fix typo --- .../kotlin/net.mamoe.mirai/event/MessageSubscribers.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]