Expand comment for unsupported nested generics when exporting to Swift
Add links to Swift and Kotlin issue trackers.
This commit is contained in:
committed by
Space
parent
18462445b7
commit
ad18d5984b
+2
@@ -220,6 +220,8 @@ private class ObjCExportNamingHelper(
|
|||||||
private fun <T> T.canBeSwiftInner(provider: ClassInfoProvider<T>): Boolean = when {
|
private fun <T> T.canBeSwiftInner(provider: ClassInfoProvider<T>): Boolean = when {
|
||||||
objcGenerics && provider.hasGenerics(this) -> {
|
objcGenerics && provider.hasGenerics(this) -> {
|
||||||
// Swift compiler doesn't seem to handle this case properly.
|
// 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
|
false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user