[ObjCExport] ObjCExportLazy: Get 'comment' from 'realStub'

This commit is contained in:
Sebastian Sellmair
2023-12-13 13:05:48 +01:00
committed by Space Team
parent 1cb60a53d9
commit 74c39b149f
@@ -417,7 +417,8 @@ private abstract class LazyObjCInterface(
override val superClassGenerics: List<ObjCNonNullReferenceType>
get() = realStub.superClassGenerics
final override val comment: Nothing? = null
final override val comment: ObjCComment?
get() = realStub.comment
}
private abstract class LazyObjCProtocol(
@@ -426,8 +427,6 @@ private abstract class LazyObjCProtocol(
override val name: String = name.objCName
override val comment: Nothing? = null
override val attributes: List<String> = name.toNameAttributes()
protected abstract fun computeRealStub(): ObjCProtocol
@@ -439,6 +438,9 @@ private abstract class LazyObjCProtocol(
override val superProtocols: List<String>
get() = realStub.superProtocols
final override val comment: ObjCComment?
get() = realStub.comment
}
internal fun createNamerConfiguration(configuration: ObjCExportLazy.Configuration): ObjCExportNamer.Configuration {