Deprecate -Xuse-experimental #KT-47623 Fixed
This commit is contained in:
committed by
teamcityserver
parent
d9531f0c61
commit
195b6d1fb1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user