From 5798320e9e497d9b1c9d1fc66833a37ae3319e0e Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Tue, 25 Jan 2022 11:47:37 +0300 Subject: [PATCH] Drop usages of CompilerArguments::useExperimental --- jps/jps-common/test/CompilerArgumentsContentProspectorTest.kt | 1 - .../test/org/jetbrains/kotlin/benchmarks/GenerateIrRuntime.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jps/jps-common/test/CompilerArgumentsContentProspectorTest.kt b/jps/jps-common/test/CompilerArgumentsContentProspectorTest.kt index 97f0fc2500f..486338e6b6f 100644 --- a/jps/jps-common/test/CompilerArgumentsContentProspectorTest.kt +++ b/jps/jps-common/test/CompilerArgumentsContentProspectorTest.kt @@ -120,7 +120,6 @@ class CompilerArgumentsContentProspectorTest { private val commonCompilerArgumentsArrayProperties = listOf( CommonCompilerArguments::pluginOptions, CommonCompilerArguments::pluginClasspaths, - CommonCompilerArguments::useExperimental, CommonCompilerArguments::optIn, CommonCompilerArguments::commonSources, CommonCompilerArguments::disablePhases, diff --git a/js/js.tests/test/org/jetbrains/kotlin/benchmarks/GenerateIrRuntime.kt b/js/js.tests/test/org/jetbrains/kotlin/benchmarks/GenerateIrRuntime.kt index ad452914ae0..6f415ada42c 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/benchmarks/GenerateIrRuntime.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/benchmarks/GenerateIrRuntime.kt @@ -306,7 +306,7 @@ class GenerateIrRuntime { irOnly = true irModuleName = "kotlin" allowKotlinPackage = true - useExperimental = arrayOf("kotlin.contracts.ExperimentalContracts", "kotlin.Experimental", "kotlin.ExperimentalMultiplatform") + optIn = arrayOf("kotlin.contracts.ExperimentalContracts", "kotlin.Experimental", "kotlin.ExperimentalMultiplatform") allowResultReturnType = true multiPlatform = true languageVersion = "1.4"