Rename AnalysisFlags.useExperimental to optIn

This commit is contained in:
Mikhail Glukhikh
2021-09-03 17:49:36 +03:00
committed by TeamCityServer
parent aedcec7715
commit 007cf2ce7c
10 changed files with 13 additions and 13 deletions
@@ -405,7 +405,7 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
// WARNING, "'-Xopt-in' is deprecated and will be removed in a future release, please use -opt-in instead"
// )
}
put(AnalysisFlags.useExperimental, useExperimentalFqNames + optInDeprecatedFqNames + optIn?.toList().orEmpty())
put(AnalysisFlags.optIn, useExperimentalFqNames + optInDeprecatedFqNames + optIn?.toList().orEmpty())
put(AnalysisFlags.expectActualLinker, expectActualLinker)
put(AnalysisFlags.explicitApiVersion, apiVersion != null)
put(AnalysisFlags.allowResultReturnType, allowResultReturnType)