Prevent exposing private super interfaces when producing framework
#KT-21819 Fixed
This commit is contained in:
committed by
SvyatoslavScherbina
parent
d7d0bcb92b
commit
4283b01535
+1
-1
@@ -145,7 +145,7 @@ internal class ObjCExportHeaderGenerator(val context: Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private val ClassDescriptor.superProtocolsClause: String get() {
|
private val ClassDescriptor.superProtocolsClause: String get() {
|
||||||
val interfaces = this.getSuperInterfaces()
|
val interfaces = this.getSuperInterfaces().filter { mapper.shouldBeExposed(it) }
|
||||||
return if (interfaces.isEmpty()) {
|
return if (interfaces.isEmpty()) {
|
||||||
""
|
""
|
||||||
} else buildString {
|
} else buildString {
|
||||||
|
|||||||
Reference in New Issue
Block a user