JVM IR: Use package visibility for fields of captured variables

This commit is contained in:
Steven Schäfer
2020-08-28 12:28:19 +02:00
committed by Alexander Udalov
parent 443269af0a
commit 02e78bcd76
13 changed files with 11 additions and 26 deletions

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
@Target(AnnotationTarget.CLASS)
annotation class ClsAnn

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
annotation class Simple(val value: String)
fun localCaptured(): Any {

View File

@@ -49,7 +49,7 @@ public abstract class helpers/ContinuationAdapter {
@kotlin.Metadata
public final class helpers/CoroutineUtilKt$handleExceptionContinuation$1 {
// source: 'CoroutineUtil.kt'
private synthetic final field $x: kotlin.jvm.functions.Function1
synthetic final field $x: kotlin.jvm.functions.Function1
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.EmptyCoroutineContext
inner (anonymous) class helpers/CoroutineUtilKt$handleExceptionContinuation$1
method <init>(p0: kotlin.jvm.functions.Function1): void
@@ -61,7 +61,7 @@ public final class helpers/CoroutineUtilKt$handleExceptionContinuation$1 {
@kotlin.Metadata
public final class helpers/CoroutineUtilKt$handleResultContinuation$1 {
// source: 'CoroutineUtil.kt'
private synthetic final field $x: kotlin.jvm.functions.Function1
synthetic final field $x: kotlin.jvm.functions.Function1
private final @org.jetbrains.annotations.NotNull field context: kotlin.coroutines.EmptyCoroutineContext
inner (anonymous) class helpers/CoroutineUtilKt$handleResultContinuation$1
method <init>(p0: kotlin.jvm.functions.Function1): void