[JVM IR] Make file classes with all private members package-private

This commit is contained in:
Iaroslav Postovalov
2020-12-26 21:42:46 +07:00
committed by Alexander Udalov
parent 032c64669c
commit 77180a5b13
8 changed files with 117 additions and 11 deletions
@@ -0,0 +1,14 @@
// WITH_RUNTIME
// IGNORE_BACKEND: JVM
// !LANGUAGE: +PackagePrivateFileClassesWithAllPrivateMembers
private fun f() {
}
private val a = Unit
private val b by lazy { Unit }
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
@kotlin.internal.InlineOnly
public fun g() {
}