[ObjCExport] ObjCExportLazy: Get 'comment' from 'realStub'
This commit is contained in:
committed by
Space Team
parent
1cb60a53d9
commit
74c39b149f
+5
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user