Update tests

This commit is contained in:
Zalim Bashorov
2018-08-17 21:44:08 +03:00
parent c61d99fcff
commit 8966e220f0
20 changed files with 1 additions and 19 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun Boolean.foo() = 1 fun Boolean.foo() = 1
fun Byte.foo() = 2 fun Byte.foo() = 2
fun Short.foo() = 3 fun Short.foo() = 3
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val value: String) { open class A(val value: String) {
inner class B(val s: String) { inner class B(val s: String) {
val result = value + "_" + s val result = value + "_" + s
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class It { class It {
} }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class It { class It {
operator fun next() = 5 operator fun next() = 5
} }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var inc: String = "" var inc: String = ""
class X { class X {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
val Int.ext: () -> Int get() = { 5 } val Int.ext: () -> Int get() = { 5 }
val Long.ext: Long get() = 4.ext().toLong() //(c.kt:4) val Long.ext: Long get() = 4.ext().toLong() //(c.kt:4)
val y: Long get() = 10L.ext val y: Long get() = 10L.ext
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
import kotlin.test.assertEquals import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
import kotlin.test.assertEquals import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
import kotlin.test.assertEquals import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
import kotlin.test.assertEquals import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
import kotlin.test.assertEquals import kotlin.test.assertEquals
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
import kotlin.test.assertEquals import kotlin.test.assertEquals
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
const val M = Long.MIN_VALUE const val M = Long.MIN_VALUE
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
const val M = Long.MAX_VALUE const val M = Long.MAX_VALUE
fun box(): String { fun box(): String {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class Test { class Test {
val Long.foo: Long val Long.foo: Long
get() = this + 1 get() = this + 1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
open class B { open class B {
val p = "OK" val p = "OK"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1126 // EXPECTED_REACHABLE_NODES: 1126
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1125 // EXPECTED_REACHABLE_NODES: 1125
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1118 // EXPECTED_REACHABLE_NODES: 1118
package foo package foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1109 // EXPECTED_REACHABLE_NODES: 1109
package foo package foo