Commit 2c72b525 authored by Him188's avatar Him188

fix typo

parent d78d719c
...@@ -139,7 +139,7 @@ class MessageSubscribersBuilder<T : MessagePacket<*, *>>( ...@@ -139,7 +139,7 @@ class MessageSubscribersBuilder<T : MessagePacket<*, *>>(
@MessageDsl @MessageDsl
suspend inline fun always(noinline onEvent: @MessageDsl suspend T.(String) -> Unit) { suspend inline fun always(noinline onEvent: @MessageDsl suspend T.(String) -> Unit) {
content({ true }, onEvent) content({ true }, onEvent)
} // TODO: 2019/12/4 这些 onEvent 都应该为 crossinline, 而这会导致一个 CompilationException } // TODO: 2019/12/4 这些 onEvent 都应该为 cross-inline, 而这会导致一个 CompilationException
/** /**
* 如果消息内容 `==` [equals], 就执行 [onEvent] * 如果消息内容 `==` [equals], 就执行 [onEvent]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment