Update Kotlin to 1.5.10

This commit is contained in:
Jordan Bergin 2021-06-10 22:15:40 +01:00 committed by Michael Bull
parent 32b1a9edb6
commit d64837f2f8
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
object Versions { object Versions {
const val dokka = "0.10.1" const val dokka = "0.10.1"
const val kotlin = "1.4.32" const val kotlin = "1.5.10"
const val kotlinBenchmark = "0.2.0-dev-20" const val kotlinBenchmark = "0.2.0-dev-20"
const val kotlinCoroutines = "1.4.3" const val kotlinCoroutines = "1.5.0"
const val ktor = "1.5.4" const val ktor = "1.5.4"
const val logback = "1.2.3" const val logback = "1.2.3"
const val versionsPlugin = "0.38.0" const val versionsPlugin = "0.38.0"

View File

@ -37,7 +37,7 @@ public suspend inline fun <V, E> binding(crossinline block: suspend SuspendableR
} }
} }
internal object BindCancellationException : CancellationException(null) internal object BindCancellationException : CancellationException(null as String?)
public interface SuspendableResultBinding<E> : CoroutineScope { public interface SuspendableResultBinding<E> : CoroutineScope {
public suspend fun <V> Result<V, E>.bind(): V public suspend fun <V> Result<V, E>.bind(): V