Remove API_VERSION 1.3 from compiler tests
So that these tests will now check behavior on the latest API version
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: JS_IR
|
// IGNORE_BACKEND: JS_IR
|
||||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// IGNORE_BACKEND: JS
|
// IGNORE_BACKEND: JS
|
||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
|
|||||||
-1
@@ -1,6 +1,5 @@
|
|||||||
// !CHECK_TYPE
|
// !CHECK_TYPE
|
||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|
||||||
import kotlin.reflect.KSuspendFunction0
|
import kotlin.reflect.KSuspendFunction0
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
||||||
|
|
||||||
suspend fun foo() {}
|
suspend fun foo() {}
|
||||||
|
|
||||||
class A {
|
class A {
|
||||||
|
|||||||
Vendored
-1
@@ -1,5 +1,4 @@
|
|||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|
||||||
fun <R> suspend(block: suspend () -> R): suspend () -> R = block
|
fun <R> suspend(block: suspend () -> R): suspend () -> R = block
|
||||||
|
|||||||
-1
@@ -1,5 +1,4 @@
|
|||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|
||||||
fun <R> suspend(block: R) = block
|
fun <R> suspend(block: R) = block
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|
||||||
fun bar() {
|
fun bar() {
|
||||||
suspend {
|
suspend {
|
||||||
println()
|
println()
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|
||||||
import kotlin.suspend as suspendLambda
|
import kotlin.suspend as suspendLambda
|
||||||
|
|
||||||
fun bar() {
|
fun bar() {
|
||||||
|
|||||||
+1
-2
@@ -1,4 +1,3 @@
|
|||||||
// !API_VERSION: 1.3
|
|
||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|
||||||
@@ -6,4 +5,4 @@ import kotlin.coroutines.experimental.coroutineContext
|
|||||||
|
|
||||||
suspend fun test() {
|
suspend fun test() {
|
||||||
<!UNSUPPORTED!>coroutineContext<!>
|
<!UNSUPPORTED!>coroutineContext<!>
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
// !API_VERSION: 1.3
|
|
||||||
// !LANGUAGE: +ReleaseCoroutines
|
// !LANGUAGE: +ReleaseCoroutines
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|
||||||
suspend fun test() {
|
suspend fun test() {
|
||||||
suspend {}
|
suspend {}
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -1,5 +1,4 @@
|
|||||||
// !USE_EXPERIMENTAL: kotlin.Experimental
|
// !USE_EXPERIMENTAL: kotlin.Experimental
|
||||||
// !API_VERSION: 1.3
|
|
||||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION, -UNUSED_VARIABLE, -UNUSED_PARAMETER
|
// !DIAGNOSTICS: -UNUSED_EXPRESSION, -UNUSED_VARIABLE, -UNUSED_PARAMETER
|
||||||
|
|
||||||
fun test() {
|
fun test() {
|
||||||
|
|||||||
Reference in New Issue
Block a user