Add more missing SinceKotlin("1.3") annotations

This commit is contained in:
Ilya Gorbunov
2018-10-18 16:10:22 +03:00
parent 0bdbcbc662
commit c72cf02e6c
3 changed files with 3 additions and 0 deletions
@@ -9,6 +9,7 @@ import kotlin.coroutines.Continuation
import kotlin.coroutines.EmptyCoroutineContext
@PublishedApi
@SinceKotlin("1.3")
internal val EmptyContinuation = Continuation<Any?>(EmptyCoroutineContext) { result ->
result.getOrThrow()
}
@@ -12,6 +12,7 @@ import kotlin.coroutines.*
* This interface is implemented by compiler-generated implementations of
* [Continuation] interface.
*/
@SinceKotlin("1.3")
public interface CoroutineStackFrame {
/**
* Returns a reference to the stack frame of the caller of this frame,
@@ -15,4 +15,5 @@ package kotlin
level = DeprecationLevel.ERROR,
replaceWith = ReplaceWith("Result")
)
@SinceKotlin("1.3")
public typealias SuccessOrFailure<T> = Result<T>