diff options
author | Dmitry Khalanskiy <52952525+dkhalanskyjb@users.noreply.github.com> | 2023-12-21 14:40:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 14:40:12 +0300 |
commit | 445f5837a1f99f7d7fdc9b9c09ad76e6d1d5be72 (patch) | |
tree | 1143fb3b0bf24257dddd273c5534fd5423ea4f1b | |
parent | d12eb45b7f146b71e62814d3ed6cd1b642d63d4a (diff) | |
download | kotlinx.coroutines-445f5837a1f99f7d7fdc9b9c09ad76e6d1d5be72.tar.gz |
Fix a compilation error due to deprecations (#3995)
-rw-r--r-- | kotlinx-coroutines-core/common/test/channels/ConsumeTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kotlinx-coroutines-core/common/test/channels/ConsumeTest.kt b/kotlinx-coroutines-core/common/test/channels/ConsumeTest.kt index 235e7d16..c4683059 100644 --- a/kotlinx-coroutines-core/common/test/channels/ConsumeTest.kt +++ b/kotlinx-coroutines-core/common/test/channels/ConsumeTest.kt @@ -96,7 +96,7 @@ class ConsumeTest: TestBase() { /** Check that [BroadcastChannel.consume] does not suffer from KT-58685 */ @OptIn(ObsoleteCoroutinesApi::class) - @Suppress("DEPRECATION") + @Suppress("DEPRECATION", "DEPRECATION_ERROR") @Test fun testBroadcastChannelConsumeJsMiscompilation() = runTest { val channel = BroadcastChannel<Int>(1) |