JVM IR: fix visibility/modality of $suspendImpl methods

#KT-43614 Fixed
This commit is contained in:
Alexander Udalov
2020-12-02 18:36:57 +01:00
parent 8ce2e4654b
commit 6b649d02d3
6 changed files with 42 additions and 4 deletions
@@ -0,0 +1,5 @@
abstract class A {
public open suspend fun public() {}
protected open suspend fun protected() {}
internal open suspend fun internal() {}
}
@@ -0,0 +1,11 @@
@kotlin.Metadata
public abstract class A {
// source: 'suspendImpl.kt'
public method <init>(): void
synthetic static method internal$test_module$suspendImpl(p0: A, p1: java.lang.Object): java.lang.Object
public @org.jetbrains.annotations.Nullable method internal$test_module(@org.jetbrains.annotations.Nullable p0: java.lang.Object): java.lang.Object
synthetic static method protected$suspendImpl(p0: A, p1: java.lang.Object): java.lang.Object
protected @org.jetbrains.annotations.Nullable method protected(@org.jetbrains.annotations.Nullable p0: java.lang.Object): java.lang.Object
synthetic static method public$suspendImpl(p0: A, p1: java.lang.Object): java.lang.Object
public @org.jetbrains.annotations.Nullable method public(@org.jetbrains.annotations.Nullable p0: java.lang.Object): java.lang.Object
}
@@ -0,0 +1,11 @@
@kotlin.Metadata
public abstract class A {
// source: 'suspendImpl.kt'
public method <init>(): void
synthetic static method internal$suspendImpl(p0: A, p1: kotlin.coroutines.Continuation): java.lang.Object
public @org.jetbrains.annotations.Nullable method internal$test_module(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object
synthetic static method protected$suspendImpl(p0: A, p1: kotlin.coroutines.Continuation): java.lang.Object
protected @org.jetbrains.annotations.Nullable method protected(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object
synthetic static method public$suspendImpl(p0: A, p1: kotlin.coroutines.Continuation): java.lang.Object
public @org.jetbrains.annotations.Nullable method public(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): java.lang.Object
}