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 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: JVM
// FIR_IDENTICAL
//WITH_RUNTIME
// WITH_STDLIB
class A
fun test() {
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun testEmpty(ss: List<String>) {
for (s in ss);
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
object FiveTimes
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun interface Fn<T, R> {
fun run(s: String, i: Int, t: T): R
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
interface X {
val xs: MutableList<Any>
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: JVM
// FIR_IDENTICAL
// WITH_RUNTIME
// WITH_STDLIB
// SKIP_KT_DUMP
// FILE: kt44993.kt
fun f(r: KotlinBox<JavaBox>): String =
+1 -1
View File
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// WITH_STDLIB
// !OPT_IN: kotlin.experimental.ExperimentalTypeInference
import kotlin.experimental.ExperimentalTypeInference
+1 -1
View File
@@ -2,7 +2,7 @@
// !LANGUAGE: -ProhibitJvmFieldOnOverrideFromInterfaceInPrimaryConstructor
// SKIP_KT_DUMP
// SKIP_KLIB_TEST
// WITH_RUNTIME
// WITH_STDLIB
interface A { val x: Int }
@@ -1,6 +1,6 @@
// TARGET_BACKEND: JVM
// FIR_IDENTICAL
//WITH_RUNTIME
// WITH_STDLIB
object A
fun test() {
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// WITH_STDLIB
// FILE: genericSamProjectedOut.kt
import example.SomeJavaClass
@@ -1,5 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// WITH_STDLIB
// FILE: signedToUnsignedConversions_annotation.kt
+1 -1
View File
@@ -1,5 +1,5 @@
// FIR_IDENTICAL
// WITH_RUNTIME
// WITH_STDLIB
fun expectsString(s: String) {}
fun expectsInt(i: Int) {}
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun test1() {
try {
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: JVM
// FIR_IDENTICAL
// WITH_RUNTIME
// WITH_STDLIB
fun test1(x: Any) =
x is Array<*> && x.isArrayOf<String>()
@@ -1,5 +1,5 @@
// FIR_IDENTICAL
// WITH_RUNTIME
// WITH_STDLIB
val testSimpleUIntLiteral = 1u
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
object A
@@ -1,5 +1,5 @@
// FIR_IDENTICAL
// WITH_RUNTIME
// WITH_STDLIB
fun foo(x: Int) {
when (x) {
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun test(b: Boolean, i: Int) {
if (b) {