Skip to content

Commit 2854901

Browse files
authored
Merge pull request #4388 from Kotlin/ikochurkin/explicit-return-types-for-public-API-functions
Specify explicit return types for some public API functions
2 parents 12af7fc + d06ca23 commit 2854901

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)