Skip to content

Commit 6c2e65b

Browse files
authored
Explicit types arguments instead of reified intersection for 2.3.0-Beta1 (#4514)
Reified intersection type arguments are currently a warning (KT-52469) but will soon become an error (KT-71420).
1 parent 08370d1 commit 6c2e65b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlinx-coroutines-core/common/test/flow/operators/CombineParametersTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class CombineParametersTest : TestBase() {
7070

7171
@Test
7272
fun testVararg() = runTest {
73-
val flow = combine(
73+
val flow = combine<Any?, String>(
7474
flowOf("1"),
7575
flowOf(2),
7676
flowOf("3"),
@@ -83,7 +83,7 @@ class CombineParametersTest : TestBase() {
8383

8484
@Test
8585
fun testVarargTransform() = runTest {
86-
val flow = combineTransform(
86+
val flow = combineTransform<Any?, String>(
8787
flowOf("1"),
8888
flowOf(2),
8989
flowOf("3"),

0 commit comments

Comments
 (0)