Fix assert when clashing with method of Any while producing framework

This commit is contained in:
Svyatoslav Scherbina
2018-02-15 10:29:09 +03:00
committed by SvyatoslavScherbina
parent bac96e3927
commit 4b91fab695
@@ -344,9 +344,6 @@ private inline fun StringBuilder.mangledSequence(crossinline mangle: StringBuild
}
private fun ObjCExportMapper.canHaveCommonSubtype(first: ClassDescriptor, second: ClassDescriptor): Boolean {
assert(shouldBeExposed(first))
assert(shouldBeExposed(second))
if (first.isSubclassOf(second) || second.isSubclassOf(first)) {
return true
}