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 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: STDLIB_LAZY
// WITH_RUNTIME
// WITH_STDLIB
// MODULE: lib
// FILE: lib.kt
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun box(): String {
var result = ""
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_STDLIB
import kotlin.test.assertEquals
class Test(val x: Int) {
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_STDLIB
import kotlin.test.assertEquals
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_STDLIB
import kotlin.test.assertEquals
enum class TestEnumClass(val x: Int) {
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_STDLIB
import kotlin.test.assertEquals
enum class TestEnumClass {
+1 -1
View File
@@ -1,4 +1,4 @@
//WITH_RUNTIME
// WITH_STDLIB
import kotlin.test.assertEquals
val x = 1
+1 -1
View File
@@ -1,4 +1,4 @@
// WITH_RUNTIME
// WITH_STDLIB
fun fooInt(b: (Int, Int) -> String): String {
return b(3, 5)
@@ -1,5 +1,5 @@
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
// WITH_STDLIB
// extracted case from KT-48912