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
class Class {
companion object {
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
package test
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
open class Foo {
lateinit var bar: String
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// On JVM, isInitialized on a property from another file is forbidden because lateinit-ness is not included in the an ABI of a property.
// IGNORE_BACKEND: JVM, JVM_IR
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// TARGET_BACKEND: JVM
object Test {
@JvmStatic
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun <T> eval(fn: () -> T) = fn()
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS_IR_ES6
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
class Foo {
lateinit var bar: String
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// WITH_STDLIB
// FILE: J.java
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
lateinit var bar: String