Advance ExperimentalNativeApi opt-in requirement level to ERROR #KT-57838

As a part of efforts to stabilize Native stdlib.
This commit is contained in:
Abduqodiri Qurbonzoda
2023-06-16 17:50:05 +03:00
committed by Space Team
parent ba6ee484b8
commit f665388704
2 changed files with 2 additions and 2 deletions
@@ -19,7 +19,7 @@ import kotlin.annotation.AnnotationTarget.*
* annotating that usage with the [OptIn] annotation, e.g. `@OptIn(ExperimentalNativeApi::class)`,
* or by using the compiler argument `-opt-in=kotlin.native.ExperimentalNativeApi`.
*/
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
@RequiresOptIn(level = RequiresOptIn.Level.ERROR)
@Retention(AnnotationRetention.BINARY)
@Target(
AnnotationTarget.CLASS,
@@ -15,7 +15,7 @@ import kotlin.annotation.AnnotationTarget.*
* This is an internal copy of the public K/N annotation.
* It is used to [OptIn] experimental K/N API used in the shared native-wasm directory.
*/
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
@RequiresOptIn(level = RequiresOptIn.Level.ERROR)
@Retention(AnnotationRetention.BINARY)
@Target(
AnnotationTarget.CLASS,