Skip to content

Commit 147337f

Browse files
committed
Replace with OptIn
1 parent ab7a563 commit 147337f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

benchmarks/src/jmh/kotlin/benchmarks/ParametrizedDispatcherBase.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ abstract class ParametrizedDispatcherBase : CoroutineScope {
2525
private var closeable: Closeable? = null
2626

2727
@Setup
28-
@UseExperimental(InternalCoroutinesApi::class)
28+
@OptIn(InternalCoroutinesApi::class)
2929
open fun setup() {
3030
coroutineContext = when {
3131
dispatcher == "fjp" -> ForkJoinPool.commonPool().asCoroutineDispatcher()

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Kotlin
66
version=1.6.0-RC-SNAPSHOT
77
group=org.jetbrains.kotlinx
8-
kotlin_version=1.6.20-dev-5664
8+
kotlin_version=1.6.20-dev-6450
99

1010
# Dependencies
1111
junit_version=4.12

kotlinx-coroutines-core/jvm/test/DispatcherKeyTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import org.junit.Test
88
import kotlin.coroutines.*
99
import kotlin.test.*
1010

11-
@UseExperimental(ExperimentalStdlibApi::class)
11+
@OptIn(ExperimentalStdlibApi::class)
1212
class DispatcherKeyTest : TestBase() {
1313

1414
companion object CustomInterceptor : AbstractCoroutineContextElement(ContinuationInterceptor),

0 commit comments

Comments
 (0)