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:
committed by
TeamCityServer
parent
960ba3ffde
commit
c7435ba760
@@ -1,7 +1,7 @@
|
||||
// SKIP_JDK6
|
||||
// TARGET_BACKEND: JVM
|
||||
// FULL_JDK
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
import java.lang.reflect.Modifier
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun box(): String {
|
||||
val list = ArrayList<Pair<String,String>>()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun getCopyToArray(): Array<Int> = listOf(2, 3, 9).toTypedArray()
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
class MyCollection<T>(val delegate: Collection<T>): Collection<T> by delegate
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
import java.util.Arrays
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// FILE: MyListWithCustomToArray.java
|
||||
|
||||
public abstract class MyListWithCustomToArray<E> extends java.util.AbstractList<E> {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
// FILE: SingletonCollection.kt
|
||||
package test
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
|
||||
// FILE: SingletonCollection.kt
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// missing isArrayOf on JS
|
||||
|
||||
// WITH_RUNTIME
|
||||
// WITH_STDLIB
|
||||
|
||||
fun box(): String {
|
||||
val array = listOf(2, 3, 9).toTypedArray()
|
||||
|
||||
Reference in New Issue
Block a user