Commit 2295e832 authored by Him188's avatar Him188

Pass @ExperimentalCoroutinesApi to the caller of Message.plus(Flow<Message>)

parent 719c4b40
......@@ -16,6 +16,7 @@
package net.mamoe.mirai.message.data
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.fold
import net.mamoe.mirai.contact.Contact
......@@ -246,6 +247,7 @@ inline operator fun Message.plus(another: Sequence<Message>): MessageChain =
@JvmSynthetic
inline operator fun Message.plus(another: MessageChain): MessageChain = this + another as Message
@ExperimentalCoroutinesApi
@HidesMembers
@JvmSynthetic
suspend inline operator fun Message.plus(another: Flow<Message>): MessageChain =
......
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