Remove JvmVersion from kotlin-stdlib-coroutines

This commit is contained in:
Ilmir Usmanov
2018-04-23 22:20:41 +03:00
parent 9cad474f5a
commit 39f4a449ad
4 changed files with 2 additions and 10 deletions
@@ -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
@@ -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