diff --git a/jps/jps-common/src/org/jetbrains/kotlin/platform/impl/NativeIdePlatformKind.kt b/jps/jps-common/src/org/jetbrains/kotlin/platform/impl/NativeIdePlatformKind.kt index 12d0e360929..8d8c486f1b3 100644 --- a/jps/jps-common/src/org/jetbrains/kotlin/platform/impl/NativeIdePlatformKind.kt +++ b/jps/jps-common/src/org/jetbrains/kotlin/platform/impl/NativeIdePlatformKind.kt @@ -62,9 +62,10 @@ object NativeIdePlatformKind : IdePlatformKind() { // These are fake compiler arguments for Kotlin/Native - only for usage within IDEA plugin: @Deprecated( message = "Use K2NativeCompilerArguments instead", - level = DeprecationLevel.ERROR + level = DeprecationLevel.WARNING ) class FakeK2NativeCompilerArguments : CommonCompilerArguments() { + @Suppress("DEPRECATION") override fun copyOf(): Freezable = copyCommonCompilerArguments(this, FakeK2NativeCompilerArguments()) }