diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt index 06bf8e137..f7896914d 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt @@ -358,7 +358,7 @@ internal class MemberInfoImpl( override val muteTimestamp: Int = jceInfo.dwShutupTimestap?.toInt() ?: 0 } -@UseExperimental(ExperimentalContracts::class) +@OptIn(ExperimentalContracts::class) internal fun GroupImpl.Companion.checkIsInstance(expression: Boolean) { contract { returns() implies expression