Rename UseExperimental->OptIn, Experimental->RequiresOptIn in stdlib kdocs

This commit is contained in:
Alexander Udalov
2019-12-27 16:35:13 +01:00
parent 7742a3b697
commit 8f94a2bb75
7 changed files with 14 additions and 14 deletions
@@ -167,8 +167,8 @@ public annotation class JsQualifier(val value: String)
* Note that behaviour of these annotations will likely be changed in the future.
*
* Usages of such annotations will be reported as warnings unless an explicit opt-in with
* the [UseExperimental] annotation, e.g. `@UseExperimental(ExperimentalJsExport::class)`,
* or with the `-Xuse-experimental=kotlin.js.ExperimentalJsExport` compiler option is given.
* the [OptIn] annotation, e.g. `@OptIn(ExperimentalJsExport::class)`,
* or with the `-Xopt-in=kotlin.js.ExperimentalJsExport` compiler option is given.
*/
@Experimental(level = Experimental.Level.WARNING)
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)