Deprecate -Xuse-experimental #KT-47623 Fixed

This commit is contained in:
Mikhail Glukhikh
2021-07-07 12:03:03 +03:00
committed by teamcityserver
parent d9531f0c61
commit 195b6d1fb1
4 changed files with 12 additions and 2 deletions
@@ -4,3 +4,4 @@ $TEMP_DIR$
-Xopt-in=kotlin.RequiresOptIn
-Xopt-in=org.test.Warning1
-Xexperimental=org.test.Warning2
-Xuse-experimental=org.test.OneMore
@@ -9,3 +9,6 @@ annotation class Warning1
@RequiresOptIn
@Retention(AnnotationRetention.BINARY)
annotation class Warning2
@RequiresOptIn
annotation class OneMore
@@ -1,4 +1,5 @@
warning: '-Xexperimental' is deprecated and will be removed in a future release
warning: '-Xuse-experimental' is deprecated and will be removed in a future release
warning: opt-in requirement marker org.test.Warning2 is deprecated. Warning2
warning: opt-in requirement marker org.test.Warning1 is deprecated. Warning1
OK