Replace all occurrences of WITH_RUNTIME with WITH_STDLIB

We are going to deprecate `WITH_RUNTIME` directive. The main reason
behind this change is that `WITH_STDLIB` directive better describes
its meaning, specifically it will add kotlin stdlib to test's classpath.
This commit is contained in:
Ivan Kylchik
2021-11-15 17:30:42 +03:00
committed by TeamCityServer
parent 960ba3ffde
commit c7435ba760
4318 changed files with 4328 additions and 4326 deletions
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
object A {
var result = "not ok"
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
var x = ""
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
var x = ""
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
var x = 0
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
class Host(var value: String) {
operator fun get(i: Int, j: Int, k: Int) = value
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
var xl = 0L // Long, size 2
@@ -1,5 +1,5 @@
//WITH_RUNTIME
// WITH_STDLIB
class Test {
data class Style(
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
import kotlin.coroutines.*
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
run {
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// WITH_COROUTINES
import helpers.*
import kotlin.coroutines.*
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// WITH_COROUTINES
import helpers.*
import kotlin.coroutines.*
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
interface Wrapper { fun runBlock() }
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM
// WITH_RUNTIME
// WITH_STDLIB
class ShouldBeCaptured
class ShouldNOTBeCaptured
+1 -1
View File
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// WITH_STDLIB
// FULL_JDK
import java.util.*
+1 -1
View File
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// WITH_STDLIB
// FULL_JDK
import java.util.*
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// WITH_STDLIB
class A {
fun f(): () -> String {