Generate RETURN instead of ARETURN if (cross)inline suspend lambda returns Unit
#KT-30073 Fixed
This commit is contained in:
@@ -9,6 +9,7 @@ import com.intellij.psi.PsiFile
|
|||||||
import org.jetbrains.kotlin.backend.common.CodegenUtil
|
import org.jetbrains.kotlin.backend.common.CodegenUtil
|
||||||
import org.jetbrains.kotlin.codegen.*
|
import org.jetbrains.kotlin.codegen.*
|
||||||
import org.jetbrains.kotlin.codegen.context.*
|
import org.jetbrains.kotlin.codegen.context.*
|
||||||
|
import org.jetbrains.kotlin.codegen.coroutines.getOrCreateJvmSuspendFunctionView
|
||||||
import org.jetbrains.kotlin.codegen.state.GenerationState
|
import org.jetbrains.kotlin.codegen.state.GenerationState
|
||||||
import org.jetbrains.kotlin.config.isReleaseCoroutines
|
import org.jetbrains.kotlin.config.isReleaseCoroutines
|
||||||
import org.jetbrains.kotlin.descriptors.*
|
import org.jetbrains.kotlin.descriptors.*
|
||||||
@@ -134,11 +135,15 @@ class PsiSourceCompilerForInline(private val codegen: ExpressionCodegen, overrid
|
|||||||
): SMAP {
|
): SMAP {
|
||||||
lambdaInfo as? PsiExpressionLambda ?: error("TODO")
|
lambdaInfo as? PsiExpressionLambda ?: error("TODO")
|
||||||
val invokeMethodDescriptor = lambdaInfo.invokeMethodDescriptor
|
val invokeMethodDescriptor = lambdaInfo.invokeMethodDescriptor
|
||||||
val closureContext =
|
val closureContext = when {
|
||||||
if (lambdaInfo.isPropertyReference)
|
lambdaInfo.isPropertyReference ->
|
||||||
codegen.getContext().intoAnonymousClass(lambdaInfo.classDescriptor, codegen, OwnerKind.IMPLEMENTATION)
|
codegen.getContext().intoAnonymousClass(lambdaInfo.classDescriptor, codegen, OwnerKind.IMPLEMENTATION)
|
||||||
else
|
invokeMethodDescriptor.isSuspend ->
|
||||||
codegen.getContext().intoClosure(invokeMethodDescriptor, codegen, state.typeMapper)
|
codegen.getContext().intoCoroutineClosure(
|
||||||
|
getOrCreateJvmSuspendFunctionView(invokeMethodDescriptor, state), invokeMethodDescriptor, codegen, state.typeMapper
|
||||||
|
)
|
||||||
|
else -> codegen.getContext().intoClosure(invokeMethodDescriptor, codegen, state.typeMapper)
|
||||||
|
}
|
||||||
val context = closureContext.intoInlinedLambda(invokeMethodDescriptor, lambdaInfo.isCrossInline, lambdaInfo.isPropertyReference)
|
val context = closureContext.intoInlinedLambda(invokeMethodDescriptor, lambdaInfo.isCrossInline, lambdaInfo.isPropertyReference)
|
||||||
|
|
||||||
return generateMethodBody(
|
return generateMethodBody(
|
||||||
|
|||||||
Vendored
+62
@@ -0,0 +1,62 @@
|
|||||||
|
// IGNORE_BACKEND: JVM_IR
|
||||||
|
// COMMON_COROUTINES_TEST
|
||||||
|
// WITH_RUNTIME
|
||||||
|
// WITH_COROUTINES
|
||||||
|
// CHECK_BYTECODE_LISTING
|
||||||
|
|
||||||
|
// In this test the following transformation are occuring:
|
||||||
|
// flow$1 -> flowWith$$inlined$flow$1
|
||||||
|
// flow$1 -> check$$inlined$flow$1
|
||||||
|
// flow$1 -> flowWith$$inlined$flow$2
|
||||||
|
// flowWith$$inlined$flow$2 -> check$$inlined$flowWith$1
|
||||||
|
|
||||||
|
// All thansformations, except the third, shall generate state-machine.
|
||||||
|
// The third shall not generate state-machine, since it is retransformed.
|
||||||
|
|
||||||
|
package flow
|
||||||
|
|
||||||
|
import COROUTINES_PACKAGE.*
|
||||||
|
import helpers.*
|
||||||
|
|
||||||
|
interface FlowCollector<T> {
|
||||||
|
suspend fun emit(value: T)
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Flow<T : Any> {
|
||||||
|
suspend fun collect(collector: FlowCollector<T>)
|
||||||
|
}
|
||||||
|
|
||||||
|
public inline fun <T : Any> flow(crossinline block: suspend FlowCollector<T>.() -> Unit) = object : Flow<T> {
|
||||||
|
override suspend fun collect(collector: FlowCollector<T>) = collector.block()
|
||||||
|
}
|
||||||
|
|
||||||
|
suspend inline fun <T : Any> Flow<T>.collect(crossinline action: suspend (T) -> Unit): Unit =
|
||||||
|
collect(object : FlowCollector<T> {
|
||||||
|
override suspend fun emit(value: T) = action(value)
|
||||||
|
})
|
||||||
|
|
||||||
|
inline fun <T : Any, R : Any> Flow<T>.flowWith(crossinline builderBlock: suspend Flow<T>.() -> Flow<R>): Flow<T> =
|
||||||
|
flow {
|
||||||
|
builderBlock()
|
||||||
|
}
|
||||||
|
|
||||||
|
fun builder(c: suspend () -> Unit) {
|
||||||
|
c.startCoroutine(EmptyContinuation)
|
||||||
|
}
|
||||||
|
|
||||||
|
suspend fun check() {
|
||||||
|
val f: Unit = flow<Int> {
|
||||||
|
emit(1)
|
||||||
|
}.flowWith {
|
||||||
|
this
|
||||||
|
}.collect {
|
||||||
|
// In this test collect is just terminating operation, which just runs the lazy computations
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
builder {
|
||||||
|
check()
|
||||||
|
}
|
||||||
|
return "OK"
|
||||||
|
}
|
||||||
Vendored
+179
@@ -0,0 +1,179 @@
|
|||||||
|
@kotlin.Metadata
|
||||||
|
public interface flow/Flow {
|
||||||
|
public abstract @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public interface flow/FlowCollector {
|
||||||
|
public abstract @org.jetbrains.annotations.Nullable method emit(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class flow/InnerObjectRetransformationKt$box$1 {
|
||||||
|
field label: int
|
||||||
|
inner class flow/InnerObjectRetransformationKt$box$1
|
||||||
|
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||||
|
public final method invoke(p0: java.lang.Object): java.lang.Object
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$collect$1$1 {
|
||||||
|
field label: int
|
||||||
|
synthetic field result: java.lang.Object
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$check$$inlined$collect$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$check$$inlined$collect$1, p1: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$collect$1 {
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1$1
|
||||||
|
public method <init>(): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method emit(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$flow$1$1 {
|
||||||
|
field L$0: java.lang.Object
|
||||||
|
field L$1: java.lang.Object
|
||||||
|
field L$2: java.lang.Object
|
||||||
|
field L$3: java.lang.Object
|
||||||
|
field label: int
|
||||||
|
synthetic field result: java.lang.Object
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$check$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$check$$inlined$flow$1, p1: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$flow$1 {
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1$1
|
||||||
|
public method <init>(): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$flowWith$1 {
|
||||||
|
synthetic final field $this_flowWith$inlined: flow.Flow
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flowWith$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1
|
||||||
|
public method <init>(p0: flow.Flow): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||||
|
final class flow/InnerObjectRetransformationKt$check$1 {
|
||||||
|
field L$0: java.lang.Object
|
||||||
|
field label: int
|
||||||
|
synthetic field result: java.lang.Object
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$1
|
||||||
|
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$collect$2$emit$1 {
|
||||||
|
field label: int
|
||||||
|
synthetic field result: java.lang.Object
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2$emit$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$collect$2, p1: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$collect$2 {
|
||||||
|
synthetic final field $action: kotlin.jvm.functions.Function2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2$emit$1
|
||||||
|
public method <init>(p0: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method emit(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flow$1$collect$1 {
|
||||||
|
field label: int
|
||||||
|
synthetic field result: java.lang.Object
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1$collect$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$flow$1, p1: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flow$1 {
|
||||||
|
synthetic final field $block: kotlin.jvm.functions.Function2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1$collect$1
|
||||||
|
public method <init>(p0: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1$1 {
|
||||||
|
field label: int
|
||||||
|
synthetic field result: java.lang.Object
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$1, p1: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1 {
|
||||||
|
synthetic final field $builderBlock$inlined: kotlin.jvm.functions.Function2
|
||||||
|
synthetic final field $this_flowWith$inlined: flow.Flow
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1$1
|
||||||
|
public method <init>(p0: flow.Flow, p1: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1 {
|
||||||
|
field label: int
|
||||||
|
synthetic field result: java.lang.Object
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$2, p1: kotlin.coroutines.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2 {
|
||||||
|
synthetic final field $builderBlock$inlined: kotlin.jvm.functions.Function2
|
||||||
|
synthetic final field $this_flowWith$inlined: flow.Flow
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1
|
||||||
|
public method <init>(p0: flow.Flow, p1: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt {
|
||||||
|
inner class flow/InnerObjectRetransformationKt$box$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1
|
||||||
|
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||||
|
public final static method builder(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
||||||
|
public final static @org.jetbrains.annotations.Nullable method check(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
private final static method collect(@org.jetbrains.annotations.NotNull p0: flow.Flow, p1: kotlin.jvm.functions.Function2, p2: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
public final static @org.jetbrains.annotations.NotNull method flow(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function2): flow.Flow
|
||||||
|
public final static @org.jetbrains.annotations.NotNull method flowWith(@org.jetbrains.annotations.NotNull p0: flow.Flow, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function2): flow.Flow
|
||||||
|
}
|
||||||
Vendored
+189
@@ -0,0 +1,189 @@
|
|||||||
|
@kotlin.Metadata
|
||||||
|
public interface flow/Flow {
|
||||||
|
public abstract @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public interface flow/FlowCollector {
|
||||||
|
public abstract @org.jetbrains.annotations.Nullable method emit(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class flow/InnerObjectRetransformationKt$box$1 {
|
||||||
|
inner class flow/InnerObjectRetransformationKt$box$1
|
||||||
|
method <init>(p0: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.Continuation): kotlin.coroutines.experimental.Continuation
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
public final method invoke(p0: java.lang.Object): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$collect$1$1 {
|
||||||
|
synthetic field data: java.lang.Object
|
||||||
|
synthetic field exception: java.lang.Throwable
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$check$$inlined$collect$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$check$$inlined$collect$1, p1: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
synthetic final method getLabel(): int
|
||||||
|
synthetic final method setLabel(p0: int): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$collect$1 {
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$collect$1$1
|
||||||
|
public method <init>(): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method emit(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$flow$1$1 {
|
||||||
|
field L$0: java.lang.Object
|
||||||
|
field L$1: java.lang.Object
|
||||||
|
field L$2: java.lang.Object
|
||||||
|
field L$3: java.lang.Object
|
||||||
|
synthetic field data: java.lang.Object
|
||||||
|
synthetic field exception: java.lang.Throwable
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$check$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$check$$inlined$flow$1, p1: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
synthetic final method getLabel(): int
|
||||||
|
synthetic final method setLabel(p0: int): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$flow$1 {
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flow$1$1
|
||||||
|
public method <init>(): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$check$$inlined$flowWith$1 {
|
||||||
|
synthetic final field $this_flowWith$inlined: flow.Flow
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$$inlined$flowWith$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1
|
||||||
|
public method <init>(p0: flow.Flow): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class flow/InnerObjectRetransformationKt$check$1 {
|
||||||
|
field L$0: java.lang.Object
|
||||||
|
synthetic field data: java.lang.Object
|
||||||
|
synthetic field exception: java.lang.Throwable
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$1
|
||||||
|
method <init>(p0: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
synthetic final method getLabel(): int
|
||||||
|
synthetic final method setLabel(p0: int): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$collect$2$emit$1 {
|
||||||
|
synthetic field data: java.lang.Object
|
||||||
|
synthetic field exception: java.lang.Throwable
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2$emit$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$collect$2, p1: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
synthetic final method getLabel(): int
|
||||||
|
synthetic final method setLabel(p0: int): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$collect$2 {
|
||||||
|
synthetic final field $action: kotlin.jvm.functions.Function2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2$emit$1
|
||||||
|
public method <init>(p0: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method emit(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flow$1$collect$1 {
|
||||||
|
synthetic field data: java.lang.Object
|
||||||
|
synthetic field exception: java.lang.Throwable
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1$collect$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$flow$1, p1: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
synthetic final method getLabel(): int
|
||||||
|
synthetic final method setLabel(p0: int): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flow$1 {
|
||||||
|
synthetic final field $block: kotlin.jvm.functions.Function2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1$collect$1
|
||||||
|
public method <init>(p0: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1$1 {
|
||||||
|
synthetic field data: java.lang.Object
|
||||||
|
synthetic field exception: java.lang.Throwable
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$1, p1: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
synthetic final method getLabel(): int
|
||||||
|
synthetic final method setLabel(p0: int): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1 {
|
||||||
|
synthetic final field $builderBlock$inlined: kotlin.jvm.functions.Function2
|
||||||
|
synthetic final field $this_flowWith$inlined: flow.Flow
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$1$1
|
||||||
|
public method <init>(p0: flow.Flow, p1: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1 {
|
||||||
|
synthetic field data: java.lang.Object
|
||||||
|
synthetic field exception: java.lang.Throwable
|
||||||
|
synthetic final field this$0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1
|
||||||
|
public method <init>(p0: flow.InnerObjectRetransformationKt$flowWith$$inlined$flow$2, p1: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
|
synthetic final method getLabel(): int
|
||||||
|
synthetic final method setLabel(p0: int): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2 {
|
||||||
|
synthetic final field $builderBlock$inlined: kotlin.jvm.functions.Function2
|
||||||
|
synthetic final field $this_flowWith$inlined: flow.Flow
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flowWith$$inlined$flow$2$1
|
||||||
|
public method <init>(p0: flow.Flow, p1: kotlin.jvm.functions.Function2): void
|
||||||
|
public @org.jetbrains.annotations.Nullable method collect(@org.jetbrains.annotations.NotNull p0: flow.FlowCollector, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class flow/InnerObjectRetransformationKt {
|
||||||
|
inner class flow/InnerObjectRetransformationKt$box$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$check$1
|
||||||
|
inner class flow/InnerObjectRetransformationKt$collect$2
|
||||||
|
inner class flow/InnerObjectRetransformationKt$flow$1
|
||||||
|
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||||
|
public final static method builder(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
||||||
|
public final static @org.jetbrains.annotations.Nullable method check(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
private final static method collect(@org.jetbrains.annotations.NotNull p0: flow.Flow, p1: kotlin.jvm.functions.Function2, p2: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
public final static @org.jetbrains.annotations.NotNull method flow(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function2): flow.Flow
|
||||||
|
public final static @org.jetbrains.annotations.NotNull method flowWith(@org.jetbrains.annotations.NotNull p0: flow.Flow, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function2): flow.Flow
|
||||||
|
}
|
||||||
+77
-17
@@ -4,7 +4,7 @@ final class OomInReturnUnitKt$test$1 {
|
|||||||
synthetic field data: java.lang.Object
|
synthetic field data: java.lang.Object
|
||||||
synthetic field exception: java.lang.Throwable
|
synthetic field exception: java.lang.Throwable
|
||||||
inner class OomInReturnUnitKt$test$1
|
inner class OomInReturnUnitKt$test$1
|
||||||
method <init>(p0: COROUTINES_PACKAGE.Continuation): void
|
method <init>(p0: kotlin.coroutines.experimental.Continuation): void
|
||||||
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
public final @org.jetbrains.annotations.Nullable method doResume(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Throwable): java.lang.Object
|
||||||
synthetic final method getLabel(): int
|
synthetic final method getLabel(): int
|
||||||
synthetic final method setLabel(p0: int): void
|
synthetic final method setLabel(p0: int): void
|
||||||
@@ -13,25 +13,47 @@ final class OomInReturnUnitKt$test$1 {
|
|||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
public final class OomInReturnUnitKt {
|
public final class OomInReturnUnitKt {
|
||||||
inner class OomInReturnUnitKt$test$1
|
inner class OomInReturnUnitKt$test$1
|
||||||
public final static @org.jetbrains.annotations.Nullable method some(@org.jetbrains.annotations.NotNull p0: COROUTINES_PACKAGE.Continuation): java.lang.Object
|
public final static @org.jetbrains.annotations.Nullable method some(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
public final static @org.jetbrains.annotations.Nullable method test(@org.jetbrains.annotations.NotNull p0: COROUTINES_PACKAGE.Continuation): java.lang.Object
|
public final static @org.jetbrains.annotations.Nullable method test(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class helpers/CheckStateMachineContinuation$resume$1 {
|
||||||
|
public final static field INSTANCE: helpers.CheckStateMachineContinuation$resume$1
|
||||||
|
inner class helpers/CheckStateMachineContinuation$resume$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
method <init>(): void
|
||||||
|
public synthetic method invoke(): java.lang.Object
|
||||||
|
public final method invoke(): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class helpers/CheckStateMachineContinuation {
|
||||||
|
public final static field INSTANCE: helpers.CheckStateMachineContinuation
|
||||||
|
inner class helpers/CheckStateMachineContinuation$resume$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
private method <init>(): void
|
||||||
|
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.experimental.CoroutineContext
|
||||||
|
public method resume(@org.jetbrains.annotations.NotNull p0: kotlin.Unit): void
|
||||||
|
public synthetic method resume(p0: java.lang.Object): void
|
||||||
|
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
||||||
}
|
}
|
||||||
|
|
||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
public abstract class helpers/ContinuationAdapter {
|
public abstract class helpers/ContinuationAdapter {
|
||||||
private final @org.jetbrains.annotations.NotNull field context: COROUTINES_PACKAGE.CoroutineContext
|
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.experimental.CoroutineContext
|
||||||
public method <init>(): void
|
public method <init>(): void
|
||||||
public @org.jetbrains.annotations.NotNull method getContext(): COROUTINES_PACKAGE.CoroutineContext
|
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.experimental.CoroutineContext
|
||||||
}
|
}
|
||||||
|
|
||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
public final class helpers/CoroutineUtilKt$handleExceptionContinuation$1 {
|
public final class helpers/CoroutineUtilKt$handleExceptionContinuation$1 {
|
||||||
synthetic final field $x: kotlin.jvm.functions.Function1
|
synthetic final field $x: kotlin.jvm.functions.Function1
|
||||||
private final @org.jetbrains.annotations.NotNull field context: COROUTINES_PACKAGE.EmptyCoroutineContext
|
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.experimental.EmptyCoroutineContext
|
||||||
inner class helpers/CoroutineUtilKt$handleExceptionContinuation$1
|
inner class helpers/CoroutineUtilKt$handleExceptionContinuation$1
|
||||||
method <init>(p0: kotlin.jvm.functions.Function1): void
|
method <init>(p0: kotlin.jvm.functions.Function1): void
|
||||||
public synthetic method getContext(): COROUTINES_PACKAGE.CoroutineContext
|
public synthetic method getContext(): kotlin.coroutines.experimental.CoroutineContext
|
||||||
public @org.jetbrains.annotations.NotNull method getContext(): COROUTINES_PACKAGE.EmptyCoroutineContext
|
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.experimental.EmptyCoroutineContext
|
||||||
public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void
|
public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void
|
||||||
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
||||||
}
|
}
|
||||||
@@ -39,11 +61,11 @@ public final class helpers/CoroutineUtilKt$handleExceptionContinuation$1 {
|
|||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
public final class helpers/CoroutineUtilKt$handleResultContinuation$1 {
|
public final class helpers/CoroutineUtilKt$handleResultContinuation$1 {
|
||||||
synthetic final field $x: kotlin.jvm.functions.Function1
|
synthetic final field $x: kotlin.jvm.functions.Function1
|
||||||
private final @org.jetbrains.annotations.NotNull field context: COROUTINES_PACKAGE.EmptyCoroutineContext
|
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.experimental.EmptyCoroutineContext
|
||||||
inner class helpers/CoroutineUtilKt$handleResultContinuation$1
|
inner class helpers/CoroutineUtilKt$handleResultContinuation$1
|
||||||
method <init>(p0: kotlin.jvm.functions.Function1): void
|
method <init>(p0: kotlin.jvm.functions.Function1): void
|
||||||
public synthetic method getContext(): COROUTINES_PACKAGE.CoroutineContext
|
public synthetic method getContext(): kotlin.coroutines.experimental.CoroutineContext
|
||||||
public @org.jetbrains.annotations.NotNull method getContext(): COROUTINES_PACKAGE.EmptyCoroutineContext
|
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.experimental.EmptyCoroutineContext
|
||||||
public method resume(p0: java.lang.Object): void
|
public method resume(p0: java.lang.Object): void
|
||||||
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
||||||
}
|
}
|
||||||
@@ -52,8 +74,8 @@ public final class helpers/CoroutineUtilKt$handleResultContinuation$1 {
|
|||||||
public final class helpers/CoroutineUtilKt {
|
public final class helpers/CoroutineUtilKt {
|
||||||
inner class helpers/CoroutineUtilKt$handleExceptionContinuation$1
|
inner class helpers/CoroutineUtilKt$handleExceptionContinuation$1
|
||||||
inner class helpers/CoroutineUtilKt$handleResultContinuation$1
|
inner class helpers/CoroutineUtilKt$handleResultContinuation$1
|
||||||
public final static @org.jetbrains.annotations.NotNull method handleExceptionContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): COROUTINES_PACKAGE.Continuation
|
public final static @org.jetbrains.annotations.NotNull method handleExceptionContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): kotlin.coroutines.experimental.Continuation
|
||||||
public final static @org.jetbrains.annotations.NotNull method handleResultContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): COROUTINES_PACKAGE.Continuation
|
public final static @org.jetbrains.annotations.NotNull method handleResultContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): kotlin.coroutines.experimental.Continuation
|
||||||
}
|
}
|
||||||
|
|
||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
@@ -66,13 +88,51 @@ public final class helpers/EmptyContinuation$Companion {
|
|||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
public class helpers/EmptyContinuation {
|
public class helpers/EmptyContinuation {
|
||||||
public final static field Companion: helpers.EmptyContinuation$Companion
|
public final static field Companion: helpers.EmptyContinuation$Companion
|
||||||
private final @org.jetbrains.annotations.NotNull field context: COROUTINES_PACKAGE.CoroutineContext
|
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.experimental.CoroutineContext
|
||||||
inner class helpers/EmptyContinuation$Companion
|
inner class helpers/EmptyContinuation$Companion
|
||||||
static method <clinit>(): void
|
static method <clinit>(): void
|
||||||
public method <init>(): void
|
public method <init>(): void
|
||||||
public method <init>(@org.jetbrains.annotations.NotNull p0: COROUTINES_PACKAGE.CoroutineContext): void
|
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.CoroutineContext): void
|
||||||
public synthetic method <init>(p0: COROUTINES_PACKAGE.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
|
public synthetic method <init>(p0: kotlin.coroutines.experimental.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||||
public @org.jetbrains.annotations.NotNull method getContext(): COROUTINES_PACKAGE.CoroutineContext
|
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.experimental.CoroutineContext
|
||||||
public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void
|
public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void
|
||||||
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class helpers/StateMachineChecker$proceed$1 {
|
||||||
|
public final static field INSTANCE: helpers.StateMachineChecker$proceed$1
|
||||||
|
inner class helpers/StateMachineChecker$proceed$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
method <init>(): void
|
||||||
|
public synthetic method invoke(): java.lang.Object
|
||||||
|
public final method invoke(): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class helpers/StateMachineChecker$suspendHere$2$1 {
|
||||||
|
synthetic final field $c: kotlin.coroutines.experimental.Continuation
|
||||||
|
inner class helpers/StateMachineChecker$suspendHere$2$1
|
||||||
|
method <init>(p0: kotlin.coroutines.experimental.Continuation): void
|
||||||
|
public synthetic method invoke(): java.lang.Object
|
||||||
|
public final method invoke(): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class helpers/StateMachineChecker {
|
||||||
|
public final static field INSTANCE: helpers.StateMachineChecker
|
||||||
|
private static field counter: int
|
||||||
|
private static field finished: boolean
|
||||||
|
private static @org.jetbrains.annotations.NotNull field proceed: kotlin.jvm.functions.Function0
|
||||||
|
inner class helpers/StateMachineChecker$proceed$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
private method <init>(): void
|
||||||
|
public synthetic final static method access$getCounter$p(p0: helpers.StateMachineChecker): int
|
||||||
|
public synthetic final static method access$setCounter$p(p0: helpers.StateMachineChecker, p1: int): void
|
||||||
|
public final method check(p0: int): void
|
||||||
|
public final method getFinished(): boolean
|
||||||
|
public final @org.jetbrains.annotations.NotNull method getProceed(): kotlin.jvm.functions.Function0
|
||||||
|
public final method setFinished(p0: boolean): void
|
||||||
|
public final method setProceed(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method suspendHere(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.experimental.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|||||||
@@ -16,6 +16,28 @@ public final class OomInReturnUnitKt {
|
|||||||
public final static @org.jetbrains.annotations.Nullable method test(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object
|
public final static @org.jetbrains.annotations.Nullable method test(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class helpers/CheckStateMachineContinuation$resume$1 {
|
||||||
|
public final static field INSTANCE: helpers.CheckStateMachineContinuation$resume$1
|
||||||
|
inner class helpers/CheckStateMachineContinuation$resume$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
method <init>(): void
|
||||||
|
public synthetic method invoke(): java.lang.Object
|
||||||
|
public final method invoke(): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class helpers/CheckStateMachineContinuation {
|
||||||
|
public final static field INSTANCE: helpers.CheckStateMachineContinuation
|
||||||
|
inner class helpers/CheckStateMachineContinuation$resume$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
private method <init>(): void
|
||||||
|
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext
|
||||||
|
public method resume(@org.jetbrains.annotations.NotNull p0: kotlin.Unit): void
|
||||||
|
public synthetic method resume(p0: java.lang.Object): void
|
||||||
|
public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void
|
||||||
|
}
|
||||||
|
|
||||||
@kotlin.Metadata
|
@kotlin.Metadata
|
||||||
public abstract class helpers/ContinuationAdapter {
|
public abstract class helpers/ContinuationAdapter {
|
||||||
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext
|
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext
|
||||||
@@ -75,3 +97,41 @@ public class helpers/EmptyContinuation {
|
|||||||
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext
|
public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext
|
||||||
public method resumeWith(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
|
public method resumeWith(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class helpers/StateMachineChecker$proceed$1 {
|
||||||
|
public final static field INSTANCE: helpers.StateMachineChecker$proceed$1
|
||||||
|
inner class helpers/StateMachineChecker$proceed$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
method <init>(): void
|
||||||
|
public synthetic method invoke(): java.lang.Object
|
||||||
|
public final method invoke(): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
final class helpers/StateMachineChecker$suspendHere$2$1 {
|
||||||
|
synthetic final field $c: kotlin.coroutines.Continuation
|
||||||
|
inner class helpers/StateMachineChecker$suspendHere$2$1
|
||||||
|
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||||
|
public synthetic method invoke(): java.lang.Object
|
||||||
|
public final method invoke(): void
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class helpers/StateMachineChecker {
|
||||||
|
public final static field INSTANCE: helpers.StateMachineChecker
|
||||||
|
private static field counter: int
|
||||||
|
private static field finished: boolean
|
||||||
|
private static @org.jetbrains.annotations.NotNull field proceed: kotlin.jvm.functions.Function0
|
||||||
|
inner class helpers/StateMachineChecker$proceed$1
|
||||||
|
static method <clinit>(): void
|
||||||
|
private method <init>(): void
|
||||||
|
public synthetic final static method access$getCounter$p(p0: helpers.StateMachineChecker): int
|
||||||
|
public synthetic final static method access$setCounter$p(p0: helpers.StateMachineChecker, p1: int): void
|
||||||
|
public final method check(p0: int): void
|
||||||
|
public final method getFinished(): boolean
|
||||||
|
public final @org.jetbrains.annotations.NotNull method getProceed(): kotlin.jvm.functions.Function0
|
||||||
|
public final method setFinished(p0: boolean): void
|
||||||
|
public final method setProceed(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||||
|
public final @org.jetbrains.annotations.Nullable method suspendHere(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object
|
||||||
|
}
|
||||||
|
|||||||
+10
@@ -8092,6 +8092,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_2() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines.experimental");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_3() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("simple.kt")
|
@TestMetadata("simple.kt")
|
||||||
public void testSimple_1_2() throws Exception {
|
public void testSimple_1_2() throws Exception {
|
||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
||||||
|
|||||||
+10
@@ -8092,6 +8092,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_2() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines.experimental");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_3() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("simple.kt")
|
@TestMetadata("simple.kt")
|
||||||
public void testSimple_1_2() throws Exception {
|
public void testSimple_1_2() throws Exception {
|
||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
||||||
|
|||||||
+10
@@ -8092,6 +8092,16 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_2() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines.experimental");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_3() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("simple.kt")
|
@TestMetadata("simple.kt")
|
||||||
public void testSimple_1_2() throws Exception {
|
public void testSimple_1_2() throws Exception {
|
||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
||||||
|
|||||||
Generated
+5
@@ -6097,6 +6097,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_3() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("simple.kt")
|
@TestMetadata("simple.kt")
|
||||||
public void testSimple_1_3() throws Exception {
|
public void testSimple_1_3() throws Exception {
|
||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines");
|
||||||
|
|||||||
+10
@@ -7117,6 +7117,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/inlineWithoutStateMachine.kt", "kotlin.coroutines");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_2() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines.experimental");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("innerObjectRetransformation.kt")
|
||||||
|
public void testInnerObjectRetransformation_1_3() throws Exception {
|
||||||
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/innerObjectRetransformation.kt", "kotlin.coroutines");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("simple.kt")
|
@TestMetadata("simple.kt")
|
||||||
public void testSimple_1_2() throws Exception {
|
public void testSimple_1_2() throws Exception {
|
||||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/tailCallOptimizations/simple.kt", "kotlin.coroutines.experimental");
|
||||||
|
|||||||
Reference in New Issue
Block a user