Skip to content

Commit 0092f6a

Browse files
committed
Set LV 1.8
1 parent 9a25dd4 commit 0092f6a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

buildSrc/src/main/kotlin/SourceSets.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fun KotlinSourceSet.configureMultiplatform() {
1515
languageSettings {
1616
optInAnnotations.forEach { optIn(it) }
1717
progressiveMode = true
18-
apiVersion = "1.7"
19-
languageVersion = "1.7"
18+
apiVersion = "1.8"
19+
languageVersion = "1.8"
2020
}
2121
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Kotlin
66
version=1.6.4-SNAPSHOT
77
group=org.jetbrains.kotlinx
8-
kotlin_version=1.8.0-dev-1547
8+
kotlin_version=1.8.0-dev-1937
99

1010
# Dependencies
1111
junit_version=4.12

kotlinx-coroutines-core/common/src/selects/Select.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ internal open class SelectImplementation<R> constructor(
511511
* this function performs registration of such clauses. After that, it atomically stores
512512
* the continuation into the [state] field if there is no more clause to be re-registered.
513513
*/
514-
private suspend fun waitUntilSelected() = suspendCancellableCoroutine<Unit> sc@ { cont ->
514+
private suspend fun waitUntilSelected() = suspendCancellableCoroutine sc@ { cont ->
515515
// Update the state.
516516
state.loop { curState ->
517517
when {

kotlinx-coroutines-core/common/src/sync/Semaphore.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ internal open class SemaphoreImpl(private val permits: Int, acquiredPermits: Int
183183
acquireSlowPath()
184184
}
185185

186-
private suspend fun acquireSlowPath() = suspendCancellableCoroutineReusable<Unit> sc@ { cont ->
186+
private suspend fun acquireSlowPath() = suspendCancellableCoroutineReusable sc@ { cont ->
187187
// Try to suspend.
188188
if (addAcquireToQueue(cont)) return@sc
189189
// The suspension has been failed

0 commit comments

Comments
 (0)