File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
evas/src/commonMain/kotlin/io/sellmair/evas Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import kotlinx.coroutines.channels.ProducerScope
5
5
import kotlinx.coroutines.flow.Flow
6
6
import kotlinx.coroutines.flow.channelFlow
7
7
import kotlin.coroutines.CoroutineContext
8
- import kotlin.experimental.ExperimentalTypeInference
9
8
import kotlin.jvm.JvmName
10
9
11
10
public class StateProducerScope <T : State ?> internal constructor(
@@ -32,8 +31,7 @@ public class StateProducerScope<T : State?> internal constructor(
32
31
}
33
32
}
34
33
35
- @OptIn(ExperimentalTypeInference ::class )
36
- internal fun <T : State ?> stateProducerFlow (@BuilderInference block : suspend StateProducerScope <T >.() -> Unit ): Flow <T > {
34
+ internal fun <T : State ?> stateProducerFlow (block : suspend StateProducerScope <T >.() -> Unit ): Flow <T > {
37
35
return channelFlow {
38
36
with (StateProducerScope (this )) {
39
37
block()
You can’t perform that action at this time.
0 commit comments