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
27 lines
1.7 KiB
Plaintext
Vendored
27 lines
1.7 KiB
Plaintext
Vendored
-- Common --
|
|
Exit code: OK
|
|
Output:
|
|
compiler/testData/multiplatform/simple/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 Printer() {
|
|
^
|
|
|
|
-- JVM --
|
|
Exit code: OK
|
|
Output:
|
|
compiler/testData/multiplatform/simple/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 Printer() {
|
|
^
|
|
compiler/testData/multiplatform/simple/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 Printer {
|
|
^
|
|
|
|
-- JS --
|
|
Exit code: OK
|
|
Output:
|
|
compiler/testData/multiplatform/simple/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 Printer() {
|
|
^
|
|
compiler/testData/multiplatform/simple/js.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 Printer {
|
|
^
|