Deprecate Experimental/UseExperimental in favor of RequiresOptIn/OptIn

This commit is contained in:
Alexander Udalov
2019-12-24 20:06:08 +01:00
parent f954a6c812
commit 514bf3eec0
8 changed files with 11 additions and 3 deletions
@@ -170,6 +170,7 @@ public annotation class JsQualifier(val value: String)
* the [OptIn] annotation, e.g. `@OptIn(ExperimentalJsExport::class)`,
* or with the `-Xopt-in=kotlin.js.ExperimentalJsExport` compiler option is given.
*/
@Suppress("DEPRECATION")
@Experimental(level = Experimental.Level.WARNING)
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
@SinceKotlin("1.3")