Uncomment warning about -Xopt-in deprecation

This commit is contained in:
Mikhail Glukhikh
2021-10-21 12:55:11 +03:00
committed by TeamCityServer
parent 1fe7a1ebb3
commit 37b95972db
4 changed files with 6 additions and 6 deletions
@@ -389,10 +389,9 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
}
val optInDeprecatedFqNames = optInDeprecated?.toList().orEmpty()
if (optInDeprecatedFqNames.isNotEmpty()) {
// TODO: uncomment this after -opt-in bootstrapping and Gradle script fixing
// collector.report(
// WARNING, "'-Xopt-in' is deprecated and will be removed in a future release, please use -opt-in instead"
// )
collector.report(
WARNING, "'-Xopt-in' is deprecated and will be removed in a future release, please use -opt-in instead"
)
}
put(AnalysisFlags.optIn, useExperimentalFqNames + optInDeprecatedFqNames + optIn?.toList().orEmpty())
put(AnalysisFlags.expectActualLinker, expectActualLinker)