Update tests after switching to LV 2.0
Related to KT-59171
This commit is contained in:
committed by
Space Team
parent
5fb38008b7
commit
2a8b655294
@@ -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/js/compilationErrorK2.kt:9:13: error: cannot access 'companion object Test : Any': it is private in '/Foo'.
|
||||
Foo.Test
|
||||
^
|
||||
|
||||
Vendored
-1
@@ -1,2 +1 @@
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
OK
|
||||
|
||||
-1
@@ -1,2 +1 @@
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
OK
|
||||
|
||||
Vendored
-1
@@ -7,5 +7,4 @@ This mode is not recommended for production use,
|
||||
as no stability/compatibility guarantees are given on
|
||||
compiler or generated code. Use it at your own risk!
|
||||
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
OK
|
||||
|
||||
-1
@@ -7,5 +7,4 @@ This mode is not recommended for production use,
|
||||
as no stability/compatibility guarantees are given on
|
||||
compiler or generated code. Use it at your own risk!
|
||||
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
OK
|
||||
|
||||
+1
-1
@@ -6,6 +6,6 @@ $TEMP_DIR$
|
||||
-ir-output-name
|
||||
out
|
||||
-language-version
|
||||
1.4
|
||||
1.5
|
||||
-libraries
|
||||
$STDLIB_JS$
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
package test
|
||||
|
||||
sealed interface Polygon
|
||||
import kotlin.reflect.*
|
||||
|
||||
abstract class Some : KSuspendFunction0<Unit>
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin
|
||||
compiler/testData/cli/js/languageVersion.kt:3:1: error: the feature "sealed interfaces" is only available since language version 1.5
|
||||
sealed interface Polygon
|
||||
^
|
||||
warning: language version 1.5 is deprecated and its support will be removed in a future version of Kotlin
|
||||
compiler/testData/cli/js/languageVersion.kt:5:23: error: KSuspendFunctionN interfaces are not allowed as supertypes
|
||||
abstract class Some : KSuspendFunction0<Unit>
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
|
||||
@@ -1,13 +1 @@
|
||||
compiler/testData/cli/js/reifiedIntersectionType.kt:2:9: warning: variable 'flow' is never used
|
||||
val flow = combine(
|
||||
^
|
||||
compiler/testData/cli/js/reifiedIntersectionType.kt:11:12: warning: parameter 'flows' is never used
|
||||
vararg flows: Flow<T>,
|
||||
^
|
||||
compiler/testData/cli/js/reifiedIntersectionType.kt:12:17: warning: parameter 'transform' is never used
|
||||
crossinline transform: suspend (Array<T>) -> R
|
||||
^
|
||||
compiler/testData/cli/js/reifiedIntersectionType.kt:15:16: warning: parameter 'value' is never used
|
||||
fun <T> flowOf(value: T): Flow<T> = TODO()
|
||||
^
|
||||
OK
|
||||
|
||||
-1
@@ -7,5 +7,4 @@ This mode is not recommended for production use,
|
||||
as no stability/compatibility guarantees are given on
|
||||
compiler or generated code. Use it at your own risk!
|
||||
|
||||
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
||||
OK
|
||||
|
||||
Reference in New Issue
Block a user