diff --git a/compiler/testData/codegen/light-analysis/coroutines/asyncIterator.txt b/compiler/testData/codegen/light-analysis/coroutines/asyncIterator.txt index adf11210635..fb6da523bb5 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/asyncIterator.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/asyncIterator.txt @@ -8,6 +8,7 @@ public final class AsyncGeneratorIterator { private @org.jetbrains.annotations.Nullable field computeContinuation: kotlin.coroutines.Continuation private field computedNext: boolean private field computesNext: boolean + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.EmptyCoroutineContext private @org.jetbrains.annotations.Nullable field nextStep: kotlin.coroutines.Continuation private @org.jetbrains.annotations.Nullable field nextValue: java.lang.Object public method (): void @@ -17,6 +18,8 @@ public final class AsyncGeneratorIterator { public final @org.jetbrains.annotations.Nullable method getComputeContinuation(): kotlin.coroutines.Continuation public final method getComputedNext(): boolean public final method getComputesNext(): boolean + public synthetic method getContext(): kotlin.coroutines.CoroutineContext + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.EmptyCoroutineContext public final @org.jetbrains.annotations.Nullable method getNextStep(): kotlin.coroutines.Continuation public final @org.jetbrains.annotations.Nullable method getNextValue(): java.lang.Object public @org.jetbrains.annotations.Nullable method hasNext(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object @@ -58,9 +61,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/await.txt b/compiler/testData/codegen/light-analysis/coroutines/await.txt index 69435a49e56..d7a26607f4a 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/await.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/await.txt @@ -16,13 +16,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class MainKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/beginWithException.txt b/compiler/testData/codegen/light-analysis/coroutines/beginWithException.txt index 956dec66175..a2ffca45ac7 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/beginWithException.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/beginWithException.txt @@ -12,9 +12,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/beginWithExceptionNoHandleException.txt b/compiler/testData/codegen/light-analysis/coroutines/beginWithExceptionNoHandleException.txt index 5ed18803e4d..85e393a4666 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/beginWithExceptionNoHandleException.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/beginWithExceptionNoHandleException.txt @@ -12,9 +12,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/coercionToUnit.txt b/compiler/testData/codegen/light-analysis/coroutines/coercionToUnit.txt index e648e3d75d4..026a0caae71 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/coercionToUnit.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/coercionToUnit.txt @@ -18,9 +18,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakFinally.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakFinally.txt index 092a87c6466..25a05e303ed 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakFinally.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakFinally.txt @@ -20,9 +20,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakStatement.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakStatement.txt index ca33c453c2d..faadc9eadce 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakStatement.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/breakStatement.txt @@ -20,9 +20,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/doWhileStatement.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/doWhileStatement.txt index e75527aba73..7e4201cfe57 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/doWhileStatement.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/doWhileStatement.txt @@ -20,9 +20,20 @@ public final class DoWhileStatementKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forContinue.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forContinue.txt index 52b6a2d5573..1bbc92248c7 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forContinue.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forContinue.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ForContinueKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forStatement.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forStatement.txt index c7f0d357fdb..55bccf0c3fd 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forStatement.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/forStatement.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ForStatementKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/ifStatement.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/ifStatement.txt index 850c5f45aeb..c67094c8d51 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/ifStatement.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/ifStatement.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class IfStatementKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/returnFromFinally.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/returnFromFinally.txt index e8470034677..550fe378f31 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/returnFromFinally.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/returnFromFinally.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ReturnFromFinallyKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/switchLikeWhen.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/switchLikeWhen.txt index 76973d73b17..2197ad36208 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/switchLikeWhen.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/switchLikeWhen.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SwitchLikeWhenKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwFromCatch.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwFromCatch.txt index bcda549dff0..b3610b52500 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwFromCatch.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwFromCatch.txt @@ -15,13 +15,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ThrowFromCatchKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwInTryWithHandleResult.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwInTryWithHandleResult.txt index 0b54e6692f3..f6cc323f9ec 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwInTryWithHandleResult.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/throwInTryWithHandleResult.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ThrowInTryWithHandleResultKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/whileStatement.txt b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/whileStatement.txt index 2e4e70cd21b..7fe8a3de3ae 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controlFlow/whileStatement.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controlFlow/whileStatement.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class WhileStatementKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/controllerAccessFromInnerLambda.txt b/compiler/testData/codegen/light-analysis/coroutines/controllerAccessFromInnerLambda.txt index 4c005fb03e5..8fa8457256f 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/controllerAccessFromInnerLambda.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/controllerAccessFromInnerLambda.txt @@ -22,9 +22,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/defaultParametersInSuspend.txt b/compiler/testData/codegen/light-analysis/coroutines/defaultParametersInSuspend.txt index d58520e10bf..4dd9274c364 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/defaultParametersInSuspend.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/defaultParametersInSuspend.txt @@ -18,9 +18,20 @@ public final class DefaultParametersInSuspendKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/dispatchResume.txt b/compiler/testData/codegen/light-analysis/coroutines/dispatchResume.txt index 6026e3117fe..04a259693fd 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/dispatchResume.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/dispatchResume.txt @@ -1,3 +1,17 @@ +@kotlin.Metadata +public abstract class ContinuationDispatcher { + private final @org.jetbrains.annotations.NotNull field contextKey: kotlin.coroutines.CoroutineContextKey + public method (): void + public abstract method dispatchResume(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): boolean + public abstract method dispatchResumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): boolean + public method fold(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function2): java.lang.Object + public @org.jetbrains.annotations.Nullable method get(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContextElement + public @org.jetbrains.annotations.NotNull method getContextKey(): kotlin.coroutines.CoroutineContextKey + public @org.jetbrains.annotations.NotNull method interceptContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation + public @org.jetbrains.annotations.NotNull method minusKey(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContext + public @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): kotlin.coroutines.CoroutineContext +} + @kotlin.Metadata public final class Controller { private @org.jetbrains.annotations.NotNull field log: java.lang.String @@ -24,9 +38,33 @@ public final class DispatchResumeKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +final class DispatchedContinuation { + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + private final @org.jetbrains.annotations.NotNull field continuation: kotlin.coroutines.Continuation + private final @org.jetbrains.annotations.NotNull field dispatcher: ContinuationDispatcher + public method (@org.jetbrains.annotations.NotNull p0: ContinuationDispatcher, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext + public final @org.jetbrains.annotations.NotNull method getContinuation(): kotlin.coroutines.Continuation + public final @org.jetbrains.annotations.NotNull method getDispatcher(): ContinuationDispatcher + public method resume(p0: java.lang.Object): void + public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void +} + +@kotlin.Metadata +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/emptyClosure.txt b/compiler/testData/codegen/light-analysis/coroutines/emptyClosure.txt index 1cd26453625..a1f8b5c5a3c 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/emptyClosure.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/emptyClosure.txt @@ -20,9 +20,20 @@ public final class EmptyClosureKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/falseUnitCoercion.txt b/compiler/testData/codegen/light-analysis/coroutines/falseUnitCoercion.txt index dbfcaedf204..1fd5ff71d63 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/falseUnitCoercion.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/falseUnitCoercion.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class FalseUnitCoercionKt { private static @org.jetbrains.annotations.NotNull field result: java.lang.Object diff --git a/compiler/testData/codegen/light-analysis/coroutines/generate.txt b/compiler/testData/codegen/light-analysis/coroutines/generate.txt index 1ceecfa874b..870b780438c 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/generate.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/generate.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class GenerateKt { private static field was: boolean diff --git a/compiler/testData/codegen/light-analysis/coroutines/handleException.txt b/compiler/testData/codegen/light-analysis/coroutines/handleException.txt index b9bf3e2eb88..4ba94097154 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/handleException.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/handleException.txt @@ -18,13 +18,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class HandleExceptionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/handleResultCallEmptyBody.txt b/compiler/testData/codegen/light-analysis/coroutines/handleResultCallEmptyBody.txt index 5ee06e42395..bacfc5809da 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/handleResultCallEmptyBody.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/handleResultCallEmptyBody.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class HandleResultCallEmptyBodyKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/handleResultNonUnitExpression.txt b/compiler/testData/codegen/light-analysis/coroutines/handleResultNonUnitExpression.txt index b0e9520880f..8efcdbc62b5 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/handleResultNonUnitExpression.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/handleResultNonUnitExpression.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class HandleResultNonUnitExpressionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/handleResultSuspended.txt b/compiler/testData/codegen/light-analysis/coroutines/handleResultSuspended.txt index 4c041e1d82d..b7afa261d1b 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/handleResultSuspended.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/handleResultSuspended.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class HandleResultSuspendedKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/illegalState.txt b/compiler/testData/codegen/light-analysis/coroutines/illegalState.txt index 7e3ec3db68e..72967c376fe 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/illegalState.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/illegalState.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class IllegalStateKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/inlineSuspendFunction.txt b/compiler/testData/codegen/light-analysis/coroutines/inlineSuspendFunction.txt index 12c626af71c..ad328c9b490 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/inlineSuspendFunction.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/inlineSuspendFunction.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class InlineSuspendFunctionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/inlinedTryCatchFinally.txt b/compiler/testData/codegen/light-analysis/coroutines/inlinedTryCatchFinally.txt index 32053d282d3..7619f037edc 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/inlinedTryCatchFinally.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/inlinedTryCatchFinally.txt @@ -15,13 +15,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class InlinedTryCatchFinallyKt { private static @org.jetbrains.annotations.NotNull field globalResult: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/innerSuspensionCalls.txt b/compiler/testData/codegen/light-analysis/coroutines/innerSuspensionCalls.txt index c899d9f7b82..18cfc6c2529 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/innerSuspensionCalls.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/innerSuspensionCalls.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class InnerSuspensionCallsKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/instanceOfContinuation.txt b/compiler/testData/codegen/light-analysis/coroutines/instanceOfContinuation.txt index b3ea9049273..07f2fe797da 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/instanceOfContinuation.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/instanceOfContinuation.txt @@ -12,13 +12,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class InstanceOfContinuationKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/complicatedMerge.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/complicatedMerge.txt index c9e4dd50307..96d0830aaf6 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/complicatedMerge.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/complicatedMerge.txt @@ -20,9 +20,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/i2bResult.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/i2bResult.txt index c4318dc7e65..13e920dd281 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/i2bResult.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/i2bResult.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class I2bResultKt { private static field byteResult: byte diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromBooleanArray.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromBooleanArray.txt index 0509a181b08..3f6f896fb7f 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromBooleanArray.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromBooleanArray.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class LoadFromBooleanArrayKt { private static field booleanResult: boolean diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromByteArray.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromByteArray.txt index 3e8f753bb75..37c9090c9f6 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromByteArray.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/loadFromByteArray.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class LoadFromByteArrayKt { private static field byteResult: byte diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/noVariableInTable.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/noVariableInTable.txt index 6db72339983..dc53b777f8b 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/noVariableInTable.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/noVariableInTable.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class NoVariableInTableKt { private static field booleanResult: boolean diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/sameIconst1ManyVars.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/sameIconst1ManyVars.txt index bd45cc6b16c..c83c0d3ecba 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/sameIconst1ManyVars.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/sameIconst1ManyVars.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SameIconst1ManyVarsKt { private static field result: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInArrayStore.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInArrayStore.txt index d50dc216b0c..2f0f533cada 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInArrayStore.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInArrayStore.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class UsedInArrayStoreKt { public static @kotlin.jvm.JvmField @org.jetbrains.annotations.NotNull field booleanResult: boolean[] diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInMethodCall.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInMethodCall.txt index 598603dd7ca..1b372dcbaa1 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInMethodCall.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInMethodCall.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class UsedInMethodCallKt { private static field booleanResult: boolean diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInPutfield.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInPutfield.txt index ea6c8055eec..3b25eb19141 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInPutfield.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInPutfield.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class UsedInPutfieldKt { public static @kotlin.jvm.JvmField field booleanResult: boolean diff --git a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInVarStore.txt b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInVarStore.txt index 2f09b75cdfc..e2d9e198e6d 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInVarStore.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/intLikeVarSpilling/usedInVarStore.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class UsedInVarStoreKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/iterateOverArray.txt b/compiler/testData/codegen/light-analysis/coroutines/iterateOverArray.txt index 4f45e344ab6..bd1168de1ef 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/iterateOverArray.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/iterateOverArray.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class IterateOverArrayKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/kt12958.txt b/compiler/testData/codegen/light-analysis/coroutines/kt12958.txt index 9976b06fa5c..b270c500b9c 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/kt12958.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/kt12958.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class Kt12958Kt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/lastExpressionIsLoop.txt b/compiler/testData/codegen/light-analysis/coroutines/lastExpressionIsLoop.txt index 87141c020a2..4a618a6c7cc 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/lastExpressionIsLoop.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/lastExpressionIsLoop.txt @@ -17,13 +17,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class LastExpressionIsLoopKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/lastStatementInc.txt b/compiler/testData/codegen/light-analysis/coroutines/lastStatementInc.txt index f5d8e917bea..7807a13b6b4 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/lastStatementInc.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/lastStatementInc.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class LastStatementIncKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/lastStementAssignment.txt b/compiler/testData/codegen/light-analysis/coroutines/lastStementAssignment.txt index 6373c491cf6..fbc8368d7ed 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/lastStementAssignment.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/lastStementAssignment.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class LastStementAssignmentKt { private static @org.jetbrains.annotations.NotNull field varWithCustomSetter: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/lastUnitExpression.txt b/compiler/testData/codegen/light-analysis/coroutines/lastUnitExpression.txt index f2dae016270..144b77e620c 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/lastUnitExpression.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/lastUnitExpression.txt @@ -17,13 +17,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class LastUnitExpressionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/multiModule/inlineFunctionWithOptionalParam.txt b/compiler/testData/codegen/light-analysis/coroutines/multiModule/inlineFunctionWithOptionalParam.txt index 271450dc55a..2615557b003 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/multiModule/inlineFunctionWithOptionalParam.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/multiModule/inlineFunctionWithOptionalParam.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class LibKt { public synthetic static method foo$default(p0: java.lang.String, p1: int, p2: java.lang.Object): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/multiModule/simple.txt b/compiler/testData/codegen/light-analysis/coroutines/multiModule/simple.txt index 9bec6dd6c66..1fdfa5107df 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/multiModule/simple.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/multiModule/simple.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class MainKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCalls.txt b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCalls.txt index c20ec673131..4acec5731f9 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCalls.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCalls.txt @@ -19,13 +19,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class MultipleInvokeCallsKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda1.txt b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda1.txt index 8a0be88c317..ed5a626758a 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda1.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda1.txt @@ -19,13 +19,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class MultipleInvokeCallsInsideInlineLambda1Kt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda2.txt b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda2.txt index ee863a828a3..e8cad47fa9b 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda2.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda2.txt @@ -19,13 +19,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class MultipleInvokeCallsInsideInlineLambda2Kt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda3.txt b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda3.txt index 53fc9c8c5a2..50387bd73b5 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda3.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/multipleInvokeCallsInsideInlineLambda3.txt @@ -19,13 +19,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class MultipleInvokeCallsInsideInlineLambda3Kt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/nestedTryCatch.txt b/compiler/testData/codegen/light-analysis/coroutines/nestedTryCatch.txt index 2fa10f52ef9..fefe187ddb6 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/nestedTryCatch.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/nestedTryCatch.txt @@ -15,13 +15,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class NestedTryCatchKt { private static @org.jetbrains.annotations.NotNull field globalResult: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/noSuspensionPoints.txt b/compiler/testData/codegen/light-analysis/coroutines/noSuspensionPoints.txt index d6092da0945..f7dae950f0b 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/noSuspensionPoints.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/noSuspensionPoints.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class NoSuspensionPointsKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambda.txt b/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambda.txt index 8c184349624..86a3ec86f56 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambda.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambda.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class NonLocalReturnFromInlineLambdaKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambdaDeep.txt b/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambdaDeep.txt index 5115ce02045..6100b2266cb 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambdaDeep.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/nonLocalReturnFromInlineLambdaDeep.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class NonLocalReturnFromInlineLambdaDeepKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/returnByLabel.txt b/compiler/testData/codegen/light-analysis/coroutines/returnByLabel.txt index 24be38ad18d..bb74a641674 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/returnByLabel.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/returnByLabel.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ReturnByLabelKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/simple.txt b/compiler/testData/codegen/light-analysis/coroutines/simple.txt index 6b0ae839958..7aaaf7eae31 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/simple.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/simple.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SimpleKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/simpleException.txt b/compiler/testData/codegen/light-analysis/coroutines/simpleException.txt index 13cc17aa3ba..d9447ae87b1 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/simpleException.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/simpleException.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SimpleExceptionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/simpleWithHandleResult.txt b/compiler/testData/codegen/light-analysis/coroutines/simpleWithHandleResult.txt index dd761a60aee..b38fbd400a1 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/simpleWithHandleResult.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/simpleWithHandleResult.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SimpleWithHandleResultKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/exception.txt b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/exception.txt index 71575732d40..a130b12ba5a 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/exception.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/exception.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ExceptionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/inlineSuspendFunction.txt b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/inlineSuspendFunction.txt index 3f484c7471e..431947df18d 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/inlineSuspendFunction.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/inlineSuspendFunction.txt @@ -13,13 +13,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class InlineSuspendFunctionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/simple.txt b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/simple.txt index 6660aefb57e..7cd2b23cbc1 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/simple.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/simple.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SimpleKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/suspendInCycle.txt b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/suspendInCycle.txt index 7d39348c9b1..9f75433abfd 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/suspendInCycle.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/stackUnwinding/suspendInCycle.txt @@ -12,13 +12,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendInCycleKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/statementLikeLastExpression.txt b/compiler/testData/codegen/light-analysis/coroutines/statementLikeLastExpression.txt index 5f9169d02ca..7b1deba8ea6 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/statementLikeLastExpression.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/statementLikeLastExpression.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class StatementLikeLastExpressionKt { private static @org.jetbrains.annotations.NotNull field globalResult: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendDelegation.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendDelegation.txt index 85aa4c1044f..697fe9e3368 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendDelegation.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendDelegation.txt @@ -12,13 +12,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendDelegationKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFromInlineLambda.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFromInlineLambda.txt index 8d83e3ad3bf..5854b81ec78 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFromInlineLambda.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFromInlineLambda.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendFromInlineLambdaKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/dispatchResume.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/dispatchResume.txt index 58319e22771..9621892d868 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/dispatchResume.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/dispatchResume.txt @@ -1,3 +1,17 @@ +@kotlin.Metadata +public abstract class ContinuationDispatcher { + private final @org.jetbrains.annotations.NotNull field contextKey: kotlin.coroutines.CoroutineContextKey + public method (): void + public abstract method dispatchResume(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): boolean + public abstract method dispatchResumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): boolean + public method fold(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function2): java.lang.Object + public @org.jetbrains.annotations.Nullable method get(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContextElement + public @org.jetbrains.annotations.NotNull method getContextKey(): kotlin.coroutines.CoroutineContextKey + public @org.jetbrains.annotations.NotNull method interceptContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation + public @org.jetbrains.annotations.NotNull method minusKey(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContext + public @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): kotlin.coroutines.CoroutineContext +} + @kotlin.Metadata public final class Controller { private @org.jetbrains.annotations.NotNull field log: java.lang.String @@ -27,9 +41,33 @@ public final class DispatchResumeKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +final class DispatchedContinuation { + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + private final @org.jetbrains.annotations.NotNull field continuation: kotlin.coroutines.Continuation + private final @org.jetbrains.annotations.NotNull field dispatcher: ContinuationDispatcher + public method (@org.jetbrains.annotations.NotNull p0: ContinuationDispatcher, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext + public final @org.jetbrains.annotations.NotNull method getContinuation(): kotlin.coroutines.Continuation + public final @org.jetbrains.annotations.NotNull method getDispatcher(): ContinuationDispatcher + public method resume(p0: java.lang.Object): void + public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void +} + +@kotlin.Metadata +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/handleException.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/handleException.txt index 38a218440ec..67f1f62749b 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/handleException.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/handleException.txt @@ -18,13 +18,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class HandleExceptionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/inline.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/inline.txt index 0a1fbf62b9d..9d09cbcc75e 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/inline.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/inline.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class InlineKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/member.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/member.txt index 4dfb1c0d49a..7b537335fc5 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/member.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/member.txt @@ -14,13 +14,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class MemberKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/returnNoSuspend.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/returnNoSuspend.txt index 8a27d6ae494..8afba9649cc 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/returnNoSuspend.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/returnNoSuspend.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ReturnNoSuspendKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/simple.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/simple.txt index 741cb521d36..72d652a1b84 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/simple.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/simple.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SimpleKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/withVariables.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/withVariables.txt index e0edab0c303..431de35d7f3 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/withVariables.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionAsCoroutine/withVariables.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class WithVariablesKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/localVal.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/localVal.txt index 95d12d3d29d..c8834953852 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/localVal.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/localVal.txt @@ -1,46 +1,9 @@ -@kotlin.Metadata -public abstract class ContinuationDispatcher { - private final @org.jetbrains.annotations.NotNull field contextKey: kotlin.coroutines.CoroutineContextKey - public method (): void - public abstract method dispatchResume(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): boolean - public abstract method dispatchResumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): boolean - public method fold(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function2): java.lang.Object - public @org.jetbrains.annotations.Nullable method get(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContextElement - public @org.jetbrains.annotations.NotNull method getContextKey(): kotlin.coroutines.CoroutineContextKey - public @org.jetbrains.annotations.NotNull method interceptContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation - public @org.jetbrains.annotations.NotNull method minusKey(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContext - public @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): kotlin.coroutines.CoroutineContext -} - @kotlin.Metadata public final class CoroutineUtilKt { public final static @org.jetbrains.annotations.NotNull method handleExceptionContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): kotlin.coroutines.Continuation public final static @org.jetbrains.annotations.NotNull method handleResultContinuation(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): kotlin.coroutines.Continuation } -@kotlin.Metadata -final class DispatchedContinuation { - private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext - private final @org.jetbrains.annotations.NotNull field continuation: kotlin.coroutines.Continuation - private final @org.jetbrains.annotations.NotNull field dispatcher: ContinuationDispatcher - public method (@org.jetbrains.annotations.NotNull p0: ContinuationDispatcher, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): void - public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext - public final @org.jetbrains.annotations.NotNull method getContinuation(): kotlin.coroutines.Continuation - public final @org.jetbrains.annotations.NotNull method getDispatcher(): ContinuationDispatcher - public method resume(p0: java.lang.Object): void - public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void -} - -@kotlin.Metadata -public final class EmptyContext { - public final static field INSTANCE: EmptyContext - private method (): void - public method fold(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function2): java.lang.Object - public @org.jetbrains.annotations.Nullable method get(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContextElement - public @org.jetbrains.annotations.NotNull method minusKey(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContextKey): kotlin.coroutines.CoroutineContext - public @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): kotlin.coroutines.CoroutineContext -} - @kotlin.Metadata public class EmptyContinuation { public final static field Companion: EmptyContinuation.Companion diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/manyParameters.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/manyParameters.txt index f41158e4b7e..f5f7a26cf94 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/manyParameters.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/manyParameters.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class ManyParametersKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/simple.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/simple.txt index 94b3a04433c..be6e9187b2c 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/simple.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendFunctionTypeCall/simple.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SimpleKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendInCycle.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendInCycle.txt index e5b22c4af3f..71c5d806aab 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendInCycle.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendInCycle.txt @@ -15,13 +15,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendInCycleKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/suspendInTheMiddleOfObjectConstruction.txt b/compiler/testData/codegen/light-analysis/coroutines/suspendInTheMiddleOfObjectConstruction.txt index 2fe204c353b..aaa8fbd371c 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/suspendInTheMiddleOfObjectConstruction.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/suspendInTheMiddleOfObjectConstruction.txt @@ -47,13 +47,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendInTheMiddleOfObjectConstructionKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithIf.txt b/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithIf.txt index 5c82eb215f9..e38934baa27 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithIf.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithIf.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendWithIfKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithTryCatch.txt b/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithTryCatch.txt index 690db1c0669..477172dbd3f 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithTryCatch.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithTryCatch.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendWithTryCatchKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithWhen.txt b/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithWhen.txt index 89ea602cd3e..1fa76835392 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithWhen.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/tailOperations/suspendWithWhen.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendWithWhenKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/tryCatchFinallyWithHandleResult.txt b/compiler/testData/codegen/light-analysis/coroutines/tryCatchFinallyWithHandleResult.txt index 8c60e6963cd..77f37e2d962 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/tryCatchFinallyWithHandleResult.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/tryCatchFinallyWithHandleResult.txt @@ -15,13 +15,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class TryCatchFinallyWithHandleResultKt { private static @org.jetbrains.annotations.NotNull field globalResult: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/tryCatchWithHandleResult.txt b/compiler/testData/codegen/light-analysis/coroutines/tryCatchWithHandleResult.txt index 8e6f3e5a6d2..155ba133583 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/tryCatchWithHandleResult.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/tryCatchWithHandleResult.txt @@ -15,13 +15,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class TryCatchWithHandleResultKt { private static @org.jetbrains.annotations.NotNull field globalResult: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/tryFinallyInsideInlineLambda.txt b/compiler/testData/codegen/light-analysis/coroutines/tryFinallyInsideInlineLambda.txt index 37e2bdf3a82..436b9ae3d29 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/tryFinallyInsideInlineLambda.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/tryFinallyInsideInlineLambda.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class TryFinallyInsideInlineLambdaKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/tryFinallyWithHandleResult.txt b/compiler/testData/codegen/light-analysis/coroutines/tryFinallyWithHandleResult.txt index f8db0208b54..96e34d824b1 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/tryFinallyWithHandleResult.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/tryFinallyWithHandleResult.txt @@ -15,13 +15,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class TryFinallyWithHandleResultKt { private static @org.jetbrains.annotations.NotNull field globalResult: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineNonLocalReturn.txt b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineNonLocalReturn.txt index c2a907d80da..21269495c22 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineNonLocalReturn.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineNonLocalReturn.txt @@ -12,9 +12,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineReturn.txt b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineReturn.txt index e5e86d63f26..d660161c230 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineReturn.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/coroutineReturn.txt @@ -12,9 +12,20 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } + +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} diff --git a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendNonLocalReturn.txt b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendNonLocalReturn.txt index 375e37b3bc4..79bdcfa036e 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendNonLocalReturn.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendNonLocalReturn.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendNonLocalReturnKt { private static @org.jetbrains.annotations.NotNull field result: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendReturn.txt b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendReturn.txt index 0f45107e695..cd27f3ed922 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendReturn.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/unitTypeReturn/suspendReturn.txt @@ -5,13 +5,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class SuspendReturnKt { private static @org.jetbrains.annotations.NotNull field result: java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTable.txt b/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTable.txt index a72e90f241e..b76e099432e 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTable.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTable.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class VarValueConflictsWithTableKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String diff --git a/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTableSameSort.txt b/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTableSameSort.txt index 8b2926db9ac..e0d6f0451d3 100644 --- a/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTableSameSort.txt +++ b/compiler/testData/codegen/light-analysis/coroutines/varValueConflictsWithTableSameSort.txt @@ -11,13 +11,24 @@ public final class CoroutineUtilKt { } @kotlin.Metadata -public final class EmptyContinuation { - public final static field INSTANCE: EmptyContinuation - private method (): void +public class EmptyContinuation { + public final static field Companion: EmptyContinuation.Companion + private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.CoroutineContext + inner class EmptyContinuation/Companion + public @synthetic.kotlin.jvm.GeneratedByJvmOverloads method (): void + public method (@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.CoroutineContext): void + public synthetic method (p0: kotlin.coroutines.CoroutineContext, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void + public @org.jetbrains.annotations.NotNull method getContext(): kotlin.coroutines.CoroutineContext public method resume(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void public method resumeWithException(@org.jetbrains.annotations.NotNull p0: java.lang.Throwable): void } +@kotlin.Metadata +public final static class EmptyContinuation/Companion { + inner class EmptyContinuation/Companion + private method (): void +} + @kotlin.Metadata public final class VarValueConflictsWithTableSameSortKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String