Use protocol name when creating objc protocol wrapper class

This commit is contained in:
Mark Mann
2023-03-23 13:44:43 -07:00
committed by Space Team
parent 51d441ee38
commit b6f669189b
6 changed files with 25 additions and 1 deletions
@@ -444,7 +444,7 @@ internal abstract class ObjCContainerStubBuilder(
metaContainerStub.protocolGetter!!
} else {
// TODO: handle the case when protocol getter stub can't be compiled.
context.generateNextUniqueId("kniprot_")
"${context.generateNextUniqueId("kniprot_")}_${container.name}"
}
AnnotationStub.ObjC.ExternalClass(protocolGetter)
}