Temporary workaround bug in K/N 1.3.70 codegen (KT-37061)
diff --git a/kotlinx-coroutines-core/common/src/flow/internal/FlowCoroutine.kt b/kotlinx-coroutines-core/common/src/flow/internal/FlowCoroutine.kt
index 36d7a3a..0ce0c33 100644
--- a/kotlinx-coroutines-core/common/src/flow/internal/FlowCoroutine.kt
+++ b/kotlinx-coroutines-core/common/src/flow/internal/FlowCoroutine.kt
@@ -48,8 +48,7 @@
  */
 internal fun <R> scopedFlow(@BuilderInference block: suspend CoroutineScope.(FlowCollector<R>) -> Unit): Flow<R> =
     flow {
-        val collector = this
-        flowScope { block(collector) }
+        flowScope { block(this@flow) }
     }
 
 internal fun <T> CoroutineScope.flowProduce(