From 00a8ff3dc45d6c0e6e362e6b0a88b81e697b45f5 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Mon, 3 Jun 2019 10:03:07 +0300 Subject: [PATCH] [kotlin compiler][update][temporary] workaround over fresh refactoring of fqNameSafe - this commit should be just reverted when fqNameSafe will return. --- .../src/org/jetbrains/kotlin/backend/konan/ObjCInterop.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ObjCInterop.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ObjCInterop.kt index 06e233e5631..6c985b8fb6c 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ObjCInterop.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ObjCInterop.kt @@ -72,7 +72,7 @@ fun ClassDescriptor.isObjCMetaClass(): Boolean = this.getAllSuperClassifiers().a } fun IrClass.isObjCProtocolClass(): Boolean = - this.fqNameSafe == objCProtocolFqName + this.fqNameForIrSerialization == objCProtocolFqName fun ClassDescriptor.isObjCProtocolClass(): Boolean = this.fqNameSafe == objCProtocolFqName