From 49eee47d7e7137df3c7fb52a91e8db6561491e28 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Tue, 4 Sep 2018 18:47:06 +0300 Subject: [PATCH] Fix #2004 Fix delegation to constructor of the same class in Objective-C subclasses --- .../org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt | 3 ++- backend.native/tests/interop/objc/smoke.kt | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt index 8b792de340c..82eecae2ac2 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt @@ -2583,7 +2583,8 @@ internal class CodeGeneratorVisitor(val context: Context, val lifetimes: Map