Replace -Xuse-experimental with -Xopt-in in codebase
This commit is contained in:
committed by
teamcityserver
parent
195b6d1fb1
commit
47c8bab48e
+2
-2
@@ -314,8 +314,8 @@ class ExperimentalUsageChecker(project: Project) : CallChecker {
|
||||
reportError: (String) -> Unit,
|
||||
reportWarning: (String) -> Unit
|
||||
) {
|
||||
// Ideally, we should run full resolution (with all classifier usage checkers) on classifiers used in "-Xexperimental" and
|
||||
// "-Xuse-experimental" arguments. However, it's not easy to do this. This should be solved in the future with the support of
|
||||
// Ideally, we should run full resolution (with all classifier usage checkers) on classifiers used in
|
||||
// "-Xopt-in" arguments. However, it's not easy to do this. This should be solved in the future with the support of
|
||||
// module annotations. For now, we only check deprecations because this is needed to correctly retire unneeded compiler arguments.
|
||||
val deprecationResolver = DeprecationResolver(
|
||||
LockBasedStorageManager("ExperimentalUsageChecker"),
|
||||
|
||||
Reference in New Issue
Block a user