From 757bedc65714efd8b5b041afb527512e30e4888d Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 18 Feb 2020 13:38:11 +0800 Subject: [PATCH] Suppress EXTENSION_SHADOWED_BY_MEMBER --- .../src/commonMain/kotlin/net.mamoe.mirai/utils/tryNTimes.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/tryNTimes.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/tryNTimes.kt index b401974b7..417d8536a 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/tryNTimes.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/tryNTimes.kt @@ -10,6 +10,7 @@ package net.mamoe.mirai.utils @MiraiInternalAPI +@Suppress("EXTENSION_SHADOWED_BY_MEMBER") expect fun Throwable.addSuppressed(e: Throwable) @MiraiInternalAPI