Add more missing SinceKotlin("1.3") annotations
This commit is contained in:
@@ -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()
|
||||
}
|
||||
+1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user