From cc2be502f6d3e129f98986b9afc0381363d15a94 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Fri, 1 Sep 2023 13:34:18 +0200 Subject: [PATCH] LV 2.0: mute two MPP integration tests --- .../genericDeclarations/output.txt | 21 +++++++++++++------ .../output.txt | 5 +---- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/compiler/testData/multiplatform/genericDeclarations/output.txt b/compiler/testData/multiplatform/genericDeclarations/output.txt index 0fb5ce2cf40..10785397f80 100644 --- a/compiler/testData/multiplatform/genericDeclarations/output.txt +++ b/compiler/testData/multiplatform/genericDeclarations/output.txt @@ -1,6 +1,10 @@ -- Common -- Exit code: OK Output: + +-- JVM -- +Exit code: OK +Output: compiler/testData/multiplatform/genericDeclarations/common.kt:9: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 C1 ^ @@ -13,10 +17,15 @@ expect class C3> compiler/testData/multiplatform/genericDeclarations/common.kt:13: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 abstract class AbstractList : MutableList ^ - --- JVM -- -Exit code: COMPILATION_ERROR -Output: -compiler/testData/multiplatform/genericDeclarations/jvm.kt:15:17: error: actual class 'AbstractList': actual class and its non-final expect class must declare exactly the same supertypes. Actual class declares the following supertypes that are not presented in expect class: 'Serializable'. This error happens because the expect class 'AbstractList' is non-final. Also see https://youtrack.jetbrains.com/issue/KT-22841 for more details +compiler/testData/multiplatform/genericDeclarations/jvm.kt:11:1: warning: the expect/actual classes (including interfaces, objects, annotations, enums, actual typealiases) are an experimental feature. You can use -Xexpect-actual-classes flag to suppress this warning. +actual class C1 +^ +compiler/testData/multiplatform/genericDeclarations/jvm.kt:12:1: warning: the expect/actual classes (including interfaces, objects, annotations, enums, actual typealiases) are an experimental feature. You can use -Xexpect-actual-classes flag to suppress this warning. +actual class C2> +^ +compiler/testData/multiplatform/genericDeclarations/jvm.kt:13:1: warning: the expect/actual classes (including interfaces, objects, annotations, enums, actual typealiases) are an experimental feature. You can use -Xexpect-actual-classes flag to suppress this warning. +actual class C3> +^ +compiler/testData/multiplatform/genericDeclarations/jvm.kt:15:1: warning: the expect/actual classes (including interfaces, objects, annotations, enums, actual typealiases) are an experimental feature. You can use -Xexpect-actual-classes flag to suppress this warning. actual abstract class AbstractList : MutableList, java.io.Serializable - ^ +^ diff --git a/compiler/testData/multiplatform/simpleNoImplKeywordOnTopLevelFunction/output.txt b/compiler/testData/multiplatform/simpleNoImplKeywordOnTopLevelFunction/output.txt index 882a3f447a7..b08950d503d 100644 --- a/compiler/testData/multiplatform/simpleNoImplKeywordOnTopLevelFunction/output.txt +++ b/compiler/testData/multiplatform/simpleNoImplKeywordOnTopLevelFunction/output.txt @@ -3,8 +3,5 @@ Exit code: OK Output: -- JVM -- -Exit code: COMPILATION_ERROR +Exit code: OK Output: -compiler/testData/multiplatform/simpleNoImplKeywordOnTopLevelFunction/jvm.kt:3:5: error: declaration must be marked with 'actual' -fun foo(s: String): Array = arrayOf(s) - ^