Fix assert when clashing with method of Any while producing framework
This commit is contained in:
committed by
SvyatoslavScherbina
parent
bac96e3927
commit
4b91fab695
-3
@@ -344,9 +344,6 @@ private inline fun StringBuilder.mangledSequence(crossinline mangle: StringBuild
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun ObjCExportMapper.canHaveCommonSubtype(first: ClassDescriptor, second: ClassDescriptor): Boolean {
|
private fun ObjCExportMapper.canHaveCommonSubtype(first: ClassDescriptor, second: ClassDescriptor): Boolean {
|
||||||
assert(shouldBeExposed(first))
|
|
||||||
assert(shouldBeExposed(second))
|
|
||||||
|
|
||||||
if (first.isSubclassOf(second) || second.isSubclassOf(first)) {
|
if (first.isSubclassOf(second) || second.isSubclassOf(first)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user