Advance ExperimentalNativeApi opt-in requirement level to ERROR #KT-57838
As a part of efforts to stabilize Native stdlib.
This commit is contained in:
committed by
Space Team
parent
ba6ee484b8
commit
f665388704
@@ -19,7 +19,7 @@ import kotlin.annotation.AnnotationTarget.*
|
|||||||
* annotating that usage with the [OptIn] annotation, e.g. `@OptIn(ExperimentalNativeApi::class)`,
|
* annotating that usage with the [OptIn] annotation, e.g. `@OptIn(ExperimentalNativeApi::class)`,
|
||||||
* or by using the compiler argument `-opt-in=kotlin.native.ExperimentalNativeApi`.
|
* or by using the compiler argument `-opt-in=kotlin.native.ExperimentalNativeApi`.
|
||||||
*/
|
*/
|
||||||
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
@RequiresOptIn(level = RequiresOptIn.Level.ERROR)
|
||||||
@Retention(AnnotationRetention.BINARY)
|
@Retention(AnnotationRetention.BINARY)
|
||||||
@Target(
|
@Target(
|
||||||
AnnotationTarget.CLASS,
|
AnnotationTarget.CLASS,
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import kotlin.annotation.AnnotationTarget.*
|
|||||||
* This is an internal copy of the public K/N annotation.
|
* 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.
|
* 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)
|
@Retention(AnnotationRetention.BINARY)
|
||||||
@Target(
|
@Target(
|
||||||
AnnotationTarget.CLASS,
|
AnnotationTarget.CLASS,
|
||||||
|
|||||||
Reference in New Issue
Block a user