From 1e6a41ca7c612b59eaabdfa2dbaf62259b6c8ff1 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 10 Jan 2020 23:20:26 +0800 Subject: [PATCH] Specify return type --- .../jvmMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-qqandroid/src/jvmMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt b/mirai-core-qqandroid/src/jvmMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt index 059749948..e53e85447 100644 --- a/mirai-core-qqandroid/src/jvmMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt +++ b/mirai-core-qqandroid/src/jvmMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt @@ -6,7 +6,7 @@ import net.mamoe.mirai.qqandroid.utils.ContextImpl import net.mamoe.mirai.utils.BotConfiguration @Suppress("FunctionName") -internal fun QQAndroidBot(account: BotAccount, configuration: BotConfiguration) = QQAndroidBot(ContextImpl(), account, configuration) +internal fun QQAndroidBot(account: BotAccount, configuration: BotConfiguration): QQAndroidBot = QQAndroidBot(ContextImpl(), account, configuration) internal actual class QQAndroidBot actual constructor( context: Context,