Make k.c.Volatile since 1.9 in JVM and Common KT-55268, KT-55609

Leave it experimental since 1.8 for K/Native.
This commit is contained in:
Ilya Gorbunov
2022-12-28 02:39:10 +01:00
committed by Space Team
parent f7940a2d46
commit 916f733f73
5 changed files with 7 additions and 2 deletions
@@ -24,7 +24,8 @@ import kotlin.internal.RequireKotlinVersionKind
@Retention(AnnotationRetention.SOURCE)
@MustBeDocumented
@OptionalExpectation
@SinceKotlin("1.8")
@Suppress("NEWER_VERSION_IN_SINCE_KOTLIN")
@SinceKotlin("1.9")
@RequireKotlin(version = "1.8.20", versionKind = RequireKotlinVersionKind.COMPILER_VERSION)
@ExperimentalStdlibApi
public expect annotation class Volatile()