Skip to content

Commit 5cd845b

Browse files
authored
Fix warnings that manifested themselves as errors after multiple simu… (#3959)
* Fix warnings that manifested themselves as errors after multiple simultaneous merges
1 parent a79db37 commit 5cd845b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

kotlinx-coroutines-core/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,9 @@ koverReport {
374374
"kotlinx.coroutines.debug.*", // Tested by debug module
375375
"kotlinx.coroutines.channels.ChannelsKt__DeprecatedKt.*", // Deprecated
376376
"kotlinx.coroutines.scheduling.LimitingDispatcher", // Deprecated
377-
"kotlinx.coroutines.scheduling.ExperimentalCoroutineDispatcher" // Deprecated
377+
"kotlinx.coroutines.scheduling.ExperimentalCoroutineDispatcher", // Deprecated
378+
"_COROUTINE._CREATION", // For IDE navigation
379+
"_COROUTINE._BOUNDARY", // For IDE navigation
378380
)
379381
}
380382
}

kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5+
@file:OptIn(BetaInteropApi::class)
6+
57
package kotlinx.coroutines
68

79
import kotlinx.cinterop.*

kotlinx-coroutines-core/nativeDarwin/src/WorkerMain.kt

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package kotlinx.coroutines
66

77
import kotlinx.cinterop.*
88

9+
@OptIn(BetaInteropApi::class)
910
internal actual inline fun workerMain(block: () -> Unit) {
1011
autoreleasepool {
1112
block()

0 commit comments

Comments
 (0)