I’m getting this compiler crash when compiling thi...
# coroutines
r
I’m getting this compiler crash when compiling this suspend function that I’ve simplified for illustration. Where should I report the bug?
Copy code
private val events: MutableSharedFlow<Unit> =
    MutableSharedFlow()

fun foo(): Pair<String, String>? = null

private suspend fun bar(): String = events
    .transform {
        emit(
            foo()
                ?.let { it.first }
                ?: return@transform
        )
    }
    .first()