JS IR: unmute tests

This commit is contained in:
Anton Bannykh
2018-06-20 17:41:09 +03:00
parent 6df9919eba
commit 04a2ffc0c1
40 changed files with 0 additions and 40 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class C(val value: String = "C") {
inner class B(val s: String) {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface Creator<T> {
fun create() : T
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
data class A(val a: Int = 1, val b: String = "$a") {}
fun box() : String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
data class A(val arg: Any? = null)
fun box() : String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
annotation class A(val a: Int = 0)
@A fun test1() = 1
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
annotation class Anno(val x: Array<String> = emptyArray())
@Anno fun test1() = 1
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(val a: Int = 0)
fun box(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(val a: Int = 0, val b: String = "a")
fun box(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class Foo private constructor(val param: String = "OK") {
companion object {
val s = Foo()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var state: String = "Fail"
class A private constructor(x: String = "OK") {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var state: String = "Fail"
class A {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
import kotlin.reflect.KProperty
class Delegate {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(
val i : Int,
val j : Int = i
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// KT-3581
open class A(val result: String = "OK") {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(
val a: String = object {
override fun toString(): String = "OK"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(
val a: String = {
open class B() {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See also KT-6299
public open class Outer private constructor(val s: String, val f: Boolean = true) {
class Inner: Outer("xyz")
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See also KT-6299
public open class Outer private constructor(val x: Int = 0) {
class Inner: Outer()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// See also KT-6299
public open class Outer private constructor(val p: Outer?) {
object First: Outer(null)
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// FILE: Outer.kt
package another
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val result: String) {
constructor(x: Int = 11, y: Int = 22, z: Int = 33) : this("$x$y$z")
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val result: String) {
constructor(x: Int, y: Int = 99) : this("$x$y")
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val x: String = "abc", val y: String = "efg") {
constructor(x: String, y: String, z: Int): this(x, y + "#" + z.toString())
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var global = 0
fun sideEffect() = global++
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A(val s: String = "FAIL")
private fun foo(a: A?, aOther: A?): A {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface Option<out T> {
val s: String
}
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(private val s: String = "") {
fun foo() = s
}