From c199f26b7c59e8070b94a7199a2fc7937af2ede2 Mon Sep 17 00:00:00 2001 From: Ivan Kochurkin Date: Fri, 21 Mar 2025 11:12:17 +0100 Subject: [PATCH] Specify explicit return types for some public API functions It's necessary for merging a fix for KT-74325 --- kotlinx-coroutines-core/common/src/flow/Migration.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlinx-coroutines-core/common/src/flow/Migration.kt b/kotlinx-coroutines-core/common/src/flow/Migration.kt index 090f6f409b..eef5e9eb5e 100644 --- a/kotlinx-coroutines-core/common/src/flow/Migration.kt +++ b/kotlinx-coroutines-core/common/src/flow/Migration.kt @@ -369,7 +369,7 @@ public fun Flow.combineLatest( other: Flow, other2: Flow, transform: suspend (T1, T2, T3) -> R -) = combine(this, other, other2, transform) +): Flow = combine(this, other, other2, transform) /** @suppress */ @Deprecated( @@ -382,7 +382,7 @@ public fun Flow.combineLatest( other2: Flow, other3: Flow, transform: suspend (T1, T2, T3, T4) -> R -) = combine(this, other, other2, other3, transform) +): Flow = combine(this, other, other2, other3, transform) /** @suppress */ @Deprecated(