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
interface Parceler<T>
@@ -1,6 +1,6 @@
// CORRECT_ERROR_TYPES
// NO_VALIDATION
// WITH_RUNTIME
// WITH_STDLIB
@file:Suppress("UNRESOLVED_REFERENCE", "DELEGATION_NOT_TO_INTERFACE", "SUPERTYPE_NOT_INITIALIZED")
package test
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
@file:JvmName("FacadeName")
package a.b.c
@@ -1,5 +1,5 @@
// CORRECT_ERROR_TYPES
// WITH_RUNTIME
// WITH_STDLIB
class MappedList<out T, R>(val list: List<T>, private val function: (T) -> R) : AbstractList<R>(), List<R> {
override fun get(index: Int) = function(list[index])
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// FILE: lib/Prop.java
package lib;
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
@file:Suppress("AMBIGUOUS_ANONYMOUS_TYPE_INFERRED")
open class CrashMe {
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun test1() = (0..10).map { n ->
object {
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
@file:Suppress("NOTHING_TO_INLINE")
package test
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
interface Intf
interface GenericIntf<T>
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// FILE: a.kt
@file:JvmMultifileClass
@@ -1,7 +1,7 @@
// CORRECT_ERROR_TYPES
// NON_EXISTENT_CLASS
// NO_VALIDATION
// WITH_RUNTIME
// WITH_STDLIB
@file:Suppress("UNRESOLVED_REFERENCE", "ANNOTATION_ARGUMENT_MUST_BE_CONST", "NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION", "UNSUPPORTED_FEATURE")
import java.util.Calendar
@@ -15,7 +15,7 @@ public class R {
}
// FILE: test.kt
// WITH_RUNTIME
// WITH_STDLIB
import lib.Anno
import kotlin.reflect.KClass
@@ -1,6 +1,6 @@
// CORRECT_ERROR_TYPES
// NO_VALIDATION
// WITH_RUNTIME
// WITH_STDLIB
@file:Suppress("UNRESOLVED_REFERENCE")
class Foo {