jvm-abi-gen: Remove effectively private classes from ABI

#KT-64590 Fixed
This commit is contained in:
Vladimir Tagakov
2023-12-26 18:11:39 -07:00
committed by Space Team
parent 7cf793f308
commit 11d3ead975
50 changed files with 511 additions and 56 deletions
@@ -0,0 +1,7 @@
package app
import lib.*
fun runAppAndReturnOk(): String {
return Outer.Public.result()
}
@@ -0,0 +1 @@
// REMOVE_PRIVATE_CLASSES
@@ -0,0 +1,13 @@
package lib
class Outer {
object Public : Private
private interface Private: Secret.EffectivelyPrivate
private object Secret {
interface EffectivelyPrivate {
fun result(): String = "OK"
}
}
}