jvm-abi-gen: Remove effectively private classes from ABI
#KT-64590 Fixed
This commit is contained in:
committed by
Space Team
parent
7cf793f308
commit
11d3ead975
+7
@@ -0,0 +1,7 @@
|
||||
package app
|
||||
|
||||
import lib.*
|
||||
|
||||
fun runAppAndReturnOk(): String {
|
||||
return Outer.Public.result()
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
// REMOVE_PRIVATE_CLASSES
|
||||
+13
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user