Drop usages of CompilerArguments::useExperimental

This commit is contained in:
Mikhail Glukhikh
2022-01-25 11:47:37 +03:00
committed by Space
parent c255da815f
commit 5798320e9e
2 changed files with 1 additions and 2 deletions
@@ -120,7 +120,6 @@ class CompilerArgumentsContentProspectorTest {
private val commonCompilerArgumentsArrayProperties = listOf(
CommonCompilerArguments::pluginOptions,
CommonCompilerArguments::pluginClasspaths,
CommonCompilerArguments::useExperimental,
CommonCompilerArguments::optIn,
CommonCompilerArguments::commonSources,
CommonCompilerArguments::disablePhases,
@@ -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"