JVM_IR: Generate private suspend functions as synthetic package-private

Do not generate accessors for them.
 #KT-37086 Fixed
This commit is contained in:
Ilmir Usmanov
2020-03-04 14:47:37 +01:00
parent 5826db97c7
commit f8903ca04b
4 changed files with 11 additions and 3 deletions
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// TODO: KT-37086
// WITH_RUNTIME
// COMMON_COROUTINES_TEST
import COROUTINES_PACKAGE.*
@@ -0,0 +1,6 @@
@kotlin.Metadata
public final class PrivateAccessorKt {
public synthetic final static method access$foo(): void
synthetic final static method bar(p0: kotlin.coroutines.Continuation): java.lang.Object
private final static method foo(): void
}