Expand comment for unsupported nested generics when exporting to Swift

Add links to Swift and Kotlin issue trackers.
This commit is contained in:
Svyatoslav Scherbina
2021-05-11 10:30:57 +03:00
committed by Space
parent 18462445b7
commit ad18d5984b
@@ -220,6 +220,8 @@ private class ObjCExportNamingHelper(
private fun <T> T.canBeSwiftInner(provider: ClassInfoProvider<T>): Boolean = when {
objcGenerics && provider.hasGenerics(this) -> {
// Swift compiler doesn't seem to handle this case properly.
// See https://bugs.swift.org/browse/SR-14607.
// This behaviour of Kotlin is reported as https://youtrack.jetbrains.com/issue/KT-46518.
false
}