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
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
class ArrayDeque<E> : AbstractMutableList<E> {
@@ -1,5 +1,5 @@
// FULL_JDK
// WITH_RUNTIME
// WITH_STDLIB
fun test(xs: List<String>): Map<String, String> {
val result = linkedMapOf<String, String>()
@@ -1,5 +1,5 @@
// FULL_JDK
// WITH_RUNTIME
// WITH_STDLIB
fun test(xs: List<String>, flag: Boolean = false): Map<String, String> {
val result = linkedMapOf<String, String>()
@@ -1,5 +1,5 @@
// FULL_JDK
// WITH_RUNTIME
// WITH_STDLIB
val z = ArrayList<String>()
@@ -1,5 +1,5 @@
// FULL_JDK
// WITH_RUNTIME
// WITH_STDLIB
interface Foo {
val foos: List<Foo>
+1 -1
View File
@@ -1,5 +1,5 @@
// !OPT_IN: kotlin.ExperimentalStdlibApi
// WITH_RUNTIME
// WITH_STDLIB
// IGNORE_BACKEND: WASM
fun box(): String {
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
val x: Array<Array<*>> = arrayOf(arrayOf(0.plus(-1L).mod(5.mod(-47)).rem(1)))
+1 -1
View File
@@ -1,5 +1,5 @@
// FULL_JDK
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
val m = HashMap<String, String>()
@@ -1,5 +1,5 @@
// FULL_JDK
// WITH_RUNTIME
// WITH_STDLIB
class C(val xs: MutableList<String>)
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// TODO separate bytecode text templates for FIR?
// -- CHECK_BYTECODE_TEXT
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
import kotlin.coroutines.*