2127b2ce68
KT-61573 ^KT-61712 Fixed Review: https://jetbrains.team/p/kt/reviews/12044/files It's a follow up commit According our guidelines, it must be in Beta https://kotlinlang.org/docs/components-stability.html#stability-of-subcomponents And the whole multiplatform was in Beta, so we can't make part of the multiplatform to have lower stability level
9 lines
863 B
Plaintext
Vendored
9 lines
863 B
Plaintext
Vendored
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
|
compiler/testData/cli/jvm/k2SimpleMultiplatformGenericClass/common.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
|
|
expect class AtomicRef<T> {
|
|
^
|
|
compiler/testData/cli/jvm/k2SimpleMultiplatformGenericClass/jvm.kt:1:1: warning: 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
|
|
actual class AtomicRef<T> constructor(value: T) {
|
|
^
|
|
OK
|