mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 02:20:14 +08:00
Fix warnings
This commit is contained in:
parent
3b16f0a226
commit
4085ecbdd8
@ -358,7 +358,7 @@ internal class MemberInfoImpl(
|
|||||||
override val muteTimestamp: Int = jceInfo.dwShutupTimestap?.toInt() ?: 0
|
override val muteTimestamp: Int = jceInfo.dwShutupTimestap?.toInt() ?: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@UseExperimental(ExperimentalContracts::class)
|
@OptIn(ExperimentalContracts::class)
|
||||||
internal fun GroupImpl.Companion.checkIsInstance(expression: Boolean) {
|
internal fun GroupImpl.Companion.checkIsInstance(expression: Boolean) {
|
||||||
contract {
|
contract {
|
||||||
returns() implies expression
|
returns() implies expression
|
||||||
|
Loading…
Reference in New Issue
Block a user