Skip to content

Commit 5f8035c

Browse files
authored
Specify explicit return types for some public API functions (#4389)
It's necessary for merging a fix for KT-74325
1 parent 96de301 commit 5f8035c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlinx-coroutines-core/common/src/flow/Migration.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public fun <T1, T2, T3, R> Flow<T1>.combineLatest(
369369
other: Flow<T2>,
370370
other2: Flow<T3>,
371371
transform: suspend (T1, T2, T3) -> R
372-
) = combine(this, other, other2, transform)
372+
): Flow<R> = combine(this, other, other2, transform)
373373

374374
/** @suppress */
375375
@Deprecated(
@@ -382,7 +382,7 @@ public fun <T1, T2, T3, T4, R> Flow<T1>.combineLatest(
382382
other2: Flow<T3>,
383383
other3: Flow<T4>,
384384
transform: suspend (T1, T2, T3, T4) -> R
385-
) = combine(this, other, other2, other3, transform)
385+
): Flow<R> = combine(this, other, other2, other3, transform)
386386

387387
/** @suppress */
388388
@Deprecated(

0 commit comments

Comments
 (0)