Remove JvmVersion from kotlin-stdlib-coroutines
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||||
* that can be found in the license/LICENSE.txt file.
|
* that can be found in the license/LICENSE.txt file.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
|
||||||
@file:kotlin.jvm.JvmVersion
|
|
||||||
package kotlin.coroutines
|
package kotlin.coroutines
|
||||||
|
|
||||||
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater
|
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
@file:kotlin.jvm.JvmName("IntrinsicsKt")
|
@file:kotlin.jvm.JvmName("IntrinsicsKt")
|
||||||
@file:kotlin.jvm.JvmMultifileClass
|
@file:kotlin.jvm.JvmMultifileClass
|
||||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||||
@file:kotlin.jvm.JvmVersion
|
|
||||||
package kotlin.coroutines.intrinsics
|
package kotlin.coroutines.intrinsics
|
||||||
|
|
||||||
import kotlin.coroutines.*
|
import kotlin.coroutines.*
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -53,7 +53,6 @@ public actual inline fun <R, T> (suspend R.() -> T).startCoroutineUninterceptedO
|
|||||||
* state machine of the coroutine and may result in arbitrary behaviour or exception.
|
* state machine of the coroutine and may result in arbitrary behaviour or exception.
|
||||||
*/
|
*/
|
||||||
@SinceKotlin("1.3")
|
@SinceKotlin("1.3")
|
||||||
@kotlin.jvm.JvmVersion
|
|
||||||
public actual fun <T> (suspend () -> T).createCoroutineUnchecked(
|
public actual fun <T> (suspend () -> T).createCoroutineUnchecked(
|
||||||
completion: Continuation<T>
|
completion: Continuation<T>
|
||||||
): Continuation<Unit> =
|
): Continuation<Unit> =
|
||||||
@@ -76,7 +75,6 @@ public actual fun <T> (suspend () -> T).createCoroutineUnchecked(
|
|||||||
* state machine of the coroutine and may result in arbitrary behaviour or exception.
|
* state machine of the coroutine and may result in arbitrary behaviour or exception.
|
||||||
*/
|
*/
|
||||||
@SinceKotlin("1.3")
|
@SinceKotlin("1.3")
|
||||||
@kotlin.jvm.JvmVersion
|
|
||||||
public actual fun <R, T> (suspend R.() -> T).createCoroutineUnchecked(
|
public actual fun <R, T> (suspend R.() -> T).createCoroutineUnchecked(
|
||||||
receiver: R,
|
receiver: R,
|
||||||
completion: Continuation<T>
|
completion: Continuation<T>
|
||||||
@@ -91,7 +89,6 @@ public actual fun <R, T> (suspend R.() -> T).createCoroutineUnchecked(
|
|||||||
|
|
||||||
// INTERNAL DEFINITIONS
|
// INTERNAL DEFINITIONS
|
||||||
|
|
||||||
@kotlin.jvm.JvmVersion
|
|
||||||
private inline fun <T> buildContinuationByInvokeCall(
|
private inline fun <T> buildContinuationByInvokeCall(
|
||||||
completion: Continuation<T>,
|
completion: Continuation<T>,
|
||||||
crossinline block: () -> Any?
|
crossinline block: () -> Any?
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
* that can be found in the license/LICENSE.txt file.
|
* that can be found in the license/LICENSE.txt file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
|
||||||
@file:JvmVersion
|
|
||||||
package kotlin.coroutines.jvm.internal
|
package kotlin.coroutines.jvm.internal
|
||||||
|
|
||||||
import java.lang.IllegalStateException
|
import java.lang.IllegalStateException
|
||||||
|
|||||||
-2
@@ -3,8 +3,6 @@
|
|||||||
* that can be found in the license/LICENSE.txt file.
|
* that can be found in the license/LICENSE.txt file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
|
||||||
@file:JvmVersion
|
|
||||||
@file:JvmName("CoroutineIntrinsics")
|
@file:JvmName("CoroutineIntrinsics")
|
||||||
package kotlin.coroutines.jvm.internal
|
package kotlin.coroutines.jvm.internal
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user