Update tests after switching to LV 2.0

Related to KT-59171
This commit is contained in:
Mikhail Glukhikh
2023-06-21 17:11:59 +02:00
committed by Space Team
parent 5fb38008b7
commit 2a8b655294
218 changed files with 531 additions and 1187 deletions
@@ -1,2 +1 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
-1
View File
@@ -1,3 +1,2 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
error: HMPP module structure should not be passed during metadata compilation. Please remove `-Xfragments` and related flags
COMPILATION_ERROR
@@ -1,3 +1,2 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
error: HMPP module structure should not be passed during metadata compilation. Please remove `-Xfragments` and related flags
COMPILATION_ERROR
@@ -1,4 +1,3 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
compiler/testData/cli/kotlinPackage.kt:1:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
package kotlin.mylibrary
^
-1
View File
@@ -1,2 +1 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
-3
View File
@@ -1,4 +1 @@
compiler/testData/cli/metadata/lambdaWithReceiver.kt:2:18: warning: the expression is unused
"OK".apply { this }
^
OK
@@ -1,2 +1 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
+2
View File
@@ -3,3 +3,5 @@ $TESTDATA_DIR$/moduleName.kt
$TEMP_DIR$
-module-name
foo
-language-version
1.9
-1
View File
@@ -1,2 +1 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
@@ -1,2 +1 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
@@ -1,2 +1 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
@@ -1,4 +1 @@
compiler/testData/cli/metadata/optionalExpectationUsage.kt:3: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 annotation class Ann()
^
OK
@@ -1,2 +1 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK