Uncomment warning about -Xopt-in deprecation
This commit is contained in:
committed by
TeamCityServer
parent
1fe7a1ebb3
commit
37b95972db
+3
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user