Mute some box tests for native backend

This patch mutes the following test categories:
   * Tests with java dependencies (System class,
     java stdlib, jvm-oriented annotations etc).
   * Coroutines tests.
   * Reflection tests.
   * Tests with an inheritance from the standard
     collections.
This commit is contained in:
Ilya Matveev
2017-03-07 11:04:08 +03:00
committed by ilmat192
parent d21d362f0f
commit a5e4e0284e
896 changed files with 936 additions and 744 deletions
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// KT-5665
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// FILE: Test.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// FILE: Test.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// FILE: JavaClass.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// FILE: JavaClass.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// FULL_JDK
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// FULL_JDK
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// reason - multifile tests are not supported in JS tests
//FILE: Holder.java
@@ -14,4 +14,4 @@ import Holder
fun box(): String {
val j = Holder(0.99)
return if (j.value > 0) "OK" else "fail"
}
}
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// reason - multifile tests are not supported in JS tests
//FILE: JavaClass.java
@@ -12,4 +12,4 @@ import JavaClass
fun box(): String {
return if (JavaClass.get() > 0) "OK" else "fail"
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyCollection<T>: Collection<T> {
override val size: Int get() = 0
@@ -31,4 +31,4 @@ fun box(): String {
expectUoe { collection.clear() }
return "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyIterator<T>(val v: T): Iterator<T> {
override fun next(): T = v
@@ -13,4 +13,4 @@ fun box(): String {
} catch (e: UnsupportedOperationException) {
return "OK"
}
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyIterator<T>(val v: T): Iterator<T> {
override fun next(): T = v
+2 -2
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyList<T>: List<T> {
override val size: Int get() = 0
@@ -39,4 +39,4 @@ fun box(): String {
expectUoe { list.remove(0) }
return "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyListIterator<T> : ListIterator<T> {
override fun next(): T = null!!
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyList<T>(val v: T): List<T> {
override val size: Int get() = 0
@@ -42,4 +42,4 @@ fun box(): String {
list.remove(0)
return "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
open class Super<T>(val v: T) {
public fun add(e: T): Boolean = true
@@ -44,4 +44,4 @@ fun box(): String {
list.remove(0)
return "OK"
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyMap<K, V>: Map<K, V> {
override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyMapEntry<K, V>: Map.Entry<K, V> {
override fun hashCode(): Int = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyMapEntry<K, V>: Map.Entry<K, V> {
override fun hashCode(): Int = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyMap<K, V>: Map<K, V> {
override val size: Int get() = 0
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyList: List<String> {
override val size: Int get() = 0
@@ -39,4 +39,4 @@ fun box(): String {
expectUoe { list.remove(0) }
return "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
abstract class A : Iterator<String> {
abstract fun remove(): Unit
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class A : HashSet<Long>()
fun box(): String {
@@ -1,5 +1,5 @@
// KT-6042 java.lang.UnsupportedOperationException with ArrayList
// IGNORE_BACKEND: NATIVE
class A : ArrayList<String>()
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class A : HashMap<String, Double>()
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class A : HashSet<Long>()
fun box(): String {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
interface Addable {
fun add(s: String): Boolean = true
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
open class SetStringImpl {
fun add(s: String): Boolean = false
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyCollection<T> : Collection<List<Iterator<T>>> {
override fun iterator() = null!!
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class MyIterator<E : Number> : Iterator<E> {
override fun next() = null!!
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// FILE: Test.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// FILE: Test.java
@@ -1,5 +1,5 @@
// TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// See https://youtrack.jetbrains.com/issue/KT-14938
// WITH_REFLECT
@@ -34,4 +34,4 @@ fun box(): String =
nullBar == A_bar -> "Bound extension property ref with receiver 'null' SHOULD NOT be equal to free property ref"
else -> "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
@@ -29,4 +29,4 @@ fun box() =
// cProp.setter != C()::prop.setter -> "cProp.setter != C()::prop.setter"
else -> "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
@@ -32,4 +32,4 @@ fun box(): String =
C_barReflect == cBar -> "C_barReflect == cBar, ${C_barReflect.className}"
cBar == C_barReflect -> "cBar == C_barReflect, ${cBar.className}"
else -> "OK"
}
}
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// WITH_REFLECT
@@ -26,4 +26,4 @@ fun box(): String {
check(Int::toString, ::foo, "Int", "String")
return "OK"
}
}
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// WITH_REFLECT
@@ -27,4 +27,4 @@ fun box(): String {
val s2: Pair<Int?, String?> = bar(null, null, ::foo, "Int", "String")
return "OK"
}
}
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
// WITH_REFLECT
@@ -20,4 +20,4 @@ fun box(): String {
val a3: Boolean? = bar<Boolean>(::foo, "Boolean")
return "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// KT-5123
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class Test {
private var iv = 1
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
// FULL_JDK
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
import java.io.*
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
import java.io.*
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
import java.io.*
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
import java.io.*
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun foo(x: Any) = x as Runnable
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun foo(x: Any) = x as? Runnable
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun fn0() {}
fun fn1(x: Any) {}
@@ -44,4 +44,4 @@ fun box(): String {
return "OK"
}
}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// FILE: JFun.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun fn0() {}
fun fn1(x: Any) {}
@@ -36,4 +36,4 @@ fun box(): String {
reifiedAsSucceeds<Function1<*, *>>(f1, "f1 as Function1<*, *>")
return "OK"
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun foo(x: Any) = x is Runnable
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// FILE: Box.java
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun foo(x: Any) = x !is Runnable
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
fun box(): String {
var x = 42
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
fun box(): String {
val x: CharSequence = ""
val klass = x::class
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class SomeClass { companion object }
fun box() =
+1 -1
View File
@@ -1,5 +1,5 @@
// Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class TestJava(r : Runnable) : Runnable by r {}
class TestRunnable() : Runnable {
+1 -1
View File
@@ -1,6 +1,6 @@
// Won't ever work with JS backend.
// TODO: Consider rewriting this test without using threads, since the issue is not about threads at all.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
object RefreshQueue {
val any = Any()
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
public class SomeClass() : java.lang.Object() {
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
public object SomeClass {
private val work = object : Runnable {
override fun run() {
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: Enable when JS backend supports Java class library
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
public open class Test(): java.util.RandomAccess, Cloneable, java.io.Serializable
{
public override fun clone(): Test = Test() // Override 'clone()' with more precise type 'Test'
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
class List<T>(val head: T, val tail: List<T>? = null)
fun <T> List<T>.mapHead(f: (T)-> T): List<T> = List<T>(f(head), null)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class C {
private fun String.ext() : String = ""
private fun f() {}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
class C{
private var v : Int = 0
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, NATIVE
import java.io.*

Some files were not shown because too many files have changed in this diff Show More