From f2cc5310b9656bc3a4f60796f7010c1a86920f6f Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Tue, 25 Oct 2022 13:36:12 +0300 Subject: [PATCH] [Native] Fix code to make it compilable with K2 Check KT-54663 for details --- .../kotlin/konan/target/TargetDomainObjectContainer.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/konan/target/TargetDomainObjectContainer.kt b/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/konan/target/TargetDomainObjectContainer.kt index 31373b49f77..d46d210d453 100644 --- a/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/konan/target/TargetDomainObjectContainer.kt +++ b/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/konan/target/TargetDomainObjectContainer.kt @@ -48,7 +48,7 @@ import org.gradle.kotlin.dsl.getByType */ // TODO: Consider splitting out interface and the default implementation. Plugins will inherit from the interface via delegation to the implementation. // TODO: Consider implementing everything from `NamedDomainObjectContainer` but keyed on a target instead of a name. -open class TargetDomainObjectContainer constructor( +open class TargetDomainObjectContainer constructor( private val providerFactory: ProviderFactory, private val platformManager: PlatformManager, ) { @@ -143,4 +143,4 @@ open class TargetDomainObjectContainer constructor( */ val hostTarget: T get() = hostTarget() -} \ No newline at end of file +}