Skip to content

Commit

Permalink
Merge pull request #187 from rickclephas/feature/coroutines-1.9.0
Browse files Browse the repository at this point in the history
kotlinx.coroutines 1.9.0
  • Loading branch information
rickclephas authored Sep 24, 2024
2 parents 556548a + 25a29b2 commit 4aa3fa1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "2.0.20"
kotlinx-coroutines = "1.8.1"
kotlinx-coroutines = "1.9.0"
kotlinx-binary-compatibility-validator = "0.16.3"
ksp = "2.0.20-1.0.25"
kotlinpoet = "1.18.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

// FILE: customFlows.kt

import kotlinx.coroutines.ExperimentalForInheritanceCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.StateFlow

interface CustomFlow<out T>: Flow<T>

@OptIn(ExperimentalForInheritanceCoroutinesApi::class)
interface CustomStateFlow<out T>: StateFlow<T>

// FILE: test.kt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

// FILE: customFlows.kt

import kotlinx.coroutines.ExperimentalForInheritanceCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.StateFlow

interface CustomFlow<out T>: Flow<T>

@OptIn(ExperimentalForInheritanceCoroutinesApi::class)
interface CustomStateFlow<out T>: StateFlow<T>

// FILE: test.kt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

// FILE: customFlows.kt

import kotlinx.coroutines.ExperimentalForInheritanceCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.StateFlow

interface CustomFlow<out T>: Flow<T>

@OptIn(ExperimentalForInheritanceCoroutinesApi::class)
interface CustomStateFlow<out T>: StateFlow<T>

// FILE: test.kt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

// FILE: customFlows.kt

import kotlinx.coroutines.ExperimentalForInheritanceCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.StateFlow

interface CustomFlow<out T>: Flow<T>

@OptIn(ExperimentalForInheritanceCoroutinesApi::class)
interface CustomStateFlow<out T>: StateFlow<T>

// FILE: test.kt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// FIR_IDENTICAL
// FILE: customStateFlow.kt

import kotlinx.coroutines.ExperimentalForInheritanceCoroutinesApi
import kotlinx.coroutines.flow.StateFlow

@OptIn(ExperimentalForInheritanceCoroutinesApi::class)
interface CustomStateFlow<out T>: StateFlow<T>

// FILE: customCoroutineScope.kt
Expand Down

0 comments on commit 4aa3fa1

Please sign in to comment.