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
|
||||
* that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
|
||||
package kotlin.coroutines
|
||||
|
||||
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
@file:kotlin.jvm.JvmName("IntrinsicsKt")
|
||||
@file:kotlin.jvm.JvmMultifileClass
|
||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||
@file:kotlin.jvm.JvmVersion
|
||||
package kotlin.coroutines.intrinsics
|
||||
|
||||
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.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
@kotlin.jvm.JvmVersion
|
||||
public actual fun <T> (suspend () -> T).createCoroutineUnchecked(
|
||||
completion: Continuation<T>
|
||||
): 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.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
@kotlin.jvm.JvmVersion
|
||||
public actual fun <R, T> (suspend R.() -> T).createCoroutineUnchecked(
|
||||
receiver: R,
|
||||
completion: Continuation<T>
|
||||
@@ -91,7 +89,6 @@ public actual fun <R, T> (suspend R.() -> T).createCoroutineUnchecked(
|
||||
|
||||
// INTERNAL DEFINITIONS
|
||||
|
||||
@kotlin.jvm.JvmVersion
|
||||
private inline fun <T> buildContinuationByInvokeCall(
|
||||
completion: Continuation<T>,
|
||||
crossinline block: () -> Any?
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
* that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||
@file:JvmVersion
|
||||
package kotlin.coroutines.jvm.internal
|
||||
|
||||
import java.lang.IllegalStateException
|
||||
|
||||
-2
@@ -3,8 +3,6 @@
|
||||
* that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||
@file:JvmVersion
|
||||
@file:JvmName("CoroutineIntrinsics")
|
||||
package kotlin.coroutines.jvm.internal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user