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:
committed by
Space Team
parent
f7940a2d46
commit
916f733f73
@@ -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()
|
||||
Reference in New Issue
Block a user