[Gradle, JS] Deprecate only deprecated properties in compiler arguments copy

This commit is contained in:
Ilya Goncharov
2024-02-08 12:59:40 +01:00
committed by Space Team
parent d02be30e3b
commit 12cd9c4530
10 changed files with 28 additions and 15 deletions
@@ -1,4 +1,4 @@
@file:Suppress("unused", "DuplicatedCode", "DEPRECATION")
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt
@@ -1,4 +1,4 @@
@file:Suppress("unused", "DuplicatedCode", "DEPRECATION")
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt
@@ -1,4 +1,4 @@
@file:Suppress("unused", "DuplicatedCode", "DEPRECATION")
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt
@@ -44,12 +44,14 @@ fun copyK2JSCompilerArguments(from: K2JSCompilerArguments, to: K2JSCompilerArgum
to.irSafeExternalBooleanDiagnostic = from.irSafeExternalBooleanDiagnostic
to.libraries = from.libraries
to.main = from.main
@Suppress("DEPRECATION")
to.metaInfo = from.metaInfo
to.moduleKind = from.moduleKind
to.moduleName = from.moduleName
to.noStdlib = from.noStdlib
to.optimizeGeneratedJs = from.optimizeGeneratedJs
to.outputDir = from.outputDir
@Suppress("DEPRECATION")
to.outputFile = from.outputFile
to.partialLinkageLogLevel = from.partialLinkageLogLevel
to.partialLinkageMode = from.partialLinkageMode
@@ -1,4 +1,4 @@
@file:Suppress("unused", "DuplicatedCode", "DEPRECATION")
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt
@@ -1,4 +1,4 @@
@file:Suppress("unused", "DuplicatedCode", "DEPRECATION")
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt
@@ -1,4 +1,4 @@
@file:Suppress("unused", "DuplicatedCode", "DEPRECATION")
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt
@@ -1,4 +1,4 @@
@file:Suppress("unused", "DuplicatedCode", "DEPRECATION")
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt