diff --git a/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt b/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt index 9b97193227..35fc96d55d 100644 --- a/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt +++ b/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt @@ -45,7 +45,7 @@ public fun Flow.filterNotNull(): Flow = transform { value * Returns a flow containing the results of applying the given [transform] function to each value of the original flow. */ public inline fun Flow.map(crossinline transform: suspend (value: T) -> R): Flow = transform { value -> - return@transform emit(transform(value)) + return@transform emit(transform(value)) } /**