Fix after updating kotlin-compiler.jar
This commit is contained in:
committed by
Vasily Levchenko
parent
4606f02705
commit
4ac6e4bffb
@@ -17,20 +17,21 @@
|
|||||||
package kotlin.coroutines
|
package kotlin.coroutines
|
||||||
|
|
||||||
// TODO: implement them right.
|
// TODO: implement them right.
|
||||||
//@PublishedApi
|
@PublishedApi
|
||||||
@SinceKotlin("1.3")
|
@SinceKotlin("1.3")
|
||||||
/* actual */ class SafeContinuation<in T>
|
internal actual class SafeContinuation<in T>
|
||||||
/* actual */ constructor(
|
internal actual constructor(
|
||||||
private val delegate: Continuation<T>,
|
private val delegate: Continuation<T>,
|
||||||
initialResult: Any?
|
initialResult: Any?
|
||||||
) : Continuation<T> {
|
) : Continuation<T> {
|
||||||
|
|
||||||
override val context: CoroutineContext
|
actual override val context: CoroutineContext
|
||||||
get() = TODO("unimplemented")
|
get() = TODO("unimplemented")
|
||||||
/* actual */ constructor(delegate: Continuation<T>) : this(delegate, /*UNDECIDED*/ null)
|
@PublishedApi
|
||||||
|
internal actual constructor(delegate: Continuation<T>) : this(delegate, /*UNDECIDED*/ null)
|
||||||
|
|
||||||
@PublishedApi
|
@PublishedApi
|
||||||
internal fun getOrThrow(): Any? = TODO("unimplemented")
|
internal actual fun getOrThrow(): Any? = TODO("unimplemented")
|
||||||
|
|
||||||
override fun resumeWith(result: SuccessOrFailure<T>):Unit = TODO("unimplemented")
|
actual override fun resumeWith(result: SuccessOrFailure<T>):Unit = TODO("unimplemented")
|
||||||
}
|
}
|
||||||
@@ -18,15 +18,29 @@ package kotlin.coroutines.intrinsics
|
|||||||
|
|
||||||
import kotlin.coroutines.*
|
import kotlin.coroutines.*
|
||||||
// TODO: implement them right.
|
// TODO: implement them right.
|
||||||
|
|
||||||
|
public actual inline fun <T> (suspend () -> T).startCoroutineUninterceptedOrReturn(
|
||||||
|
completion: Continuation<T>
|
||||||
|
): Any? {
|
||||||
|
TODO("Unimplemented")
|
||||||
|
}
|
||||||
|
|
||||||
|
public actual inline fun <R, T> (suspend R.() -> T).startCoroutineUninterceptedOrReturn(
|
||||||
|
receiver: R,
|
||||||
|
completion: Continuation<T>
|
||||||
|
): Any? {
|
||||||
|
TODO("Unimplemented")
|
||||||
|
}
|
||||||
|
|
||||||
@SinceKotlin("1.3")
|
@SinceKotlin("1.3")
|
||||||
public /* actual */ fun <T> (suspend () -> T).createCoroutineUnintercepted(
|
public actual fun <T> (suspend () -> T).createCoroutineUnintercepted(
|
||||||
completion: Continuation<T>
|
completion: Continuation<T>
|
||||||
): Continuation<Unit> {
|
): Continuation<Unit> {
|
||||||
TODO("Unimplemented")
|
TODO("Unimplemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
@SinceKotlin("1.3")
|
@SinceKotlin("1.3")
|
||||||
public /* actual */ fun <R, T> (suspend R.() -> T).createCoroutineUnintercepted(
|
public actual fun <R, T> (suspend R.() -> T).createCoroutineUnintercepted(
|
||||||
receiver: R,
|
receiver: R,
|
||||||
completion: Continuation<T>
|
completion: Continuation<T>
|
||||||
): Continuation<Unit> {
|
): Continuation<Unit> {
|
||||||
@@ -34,4 +48,4 @@ public /* actual */ fun <R, T> (suspend R.() -> T).createCoroutineUnintercepted(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SinceKotlin("1.3")
|
@SinceKotlin("1.3")
|
||||||
public /* actual */ fun <T> Continuation<T>.intercepted(): Continuation<T> = TODO("unimplemented")
|
public actual fun <T> Continuation<T>.intercepted(): Continuation<T> = TODO("unimplemented")
|
||||||
|
|||||||
Reference in New Issue
Block a user