From 4085ecbdd8733f54148d4395748bb4e83b1103af Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 5 Mar 2020 21:39:53 +0800 Subject: [PATCH] Fix warnings --- .../commonMain/kotlin/net/mamoe/mirai/qqandroid/ContactImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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