From 8cc09c77fb1e4d763d9375117818a678fc130fd6 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 23 May 2020 19:51:22 +0800 Subject: [PATCH] Make JvmPluginImpl sealed --- .../kotlin/net/mamoe/mirai/console/plugins/builtin/JvmPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugins/builtin/JvmPlugin.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugins/builtin/JvmPlugin.kt index 9c2eefc60..4fa0e4d10 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugins/builtin/JvmPlugin.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugins/builtin/JvmPlugin.kt @@ -75,7 +75,7 @@ abstract class KotlinPlugin @JvmOverloads constructor( // that's it } -internal abstract class JvmPluginImpl( +internal sealed class JvmPluginImpl( parentCoroutineContext: CoroutineContext ) : JvmPlugin, CoroutineScope { /**