Skip to content

Commit 445f583

Browse files
authored
Fix a compilation error due to deprecations (#3995)
1 parent d12eb45 commit 445f583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/test/channels/ConsumeTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ConsumeTest: TestBase() {
9696

9797
/** Check that [BroadcastChannel.consume] does not suffer from KT-58685 */
9898
@OptIn(ObsoleteCoroutinesApi::class)
99-
@Suppress("DEPRECATION")
99+
@Suppress("DEPRECATION", "DEPRECATION_ERROR")
100100
@Test
101101
fun testBroadcastChannelConsumeJsMiscompilation() = runTest {
102102
val channel = BroadcastChannel<Int>(1)

0 commit comments

Comments
 (0)