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 Byte.foo() = 2
fun Short.foo() = 3
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val value: String) {
inner class B(val s: String) {
val result = value + "_" + s
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class It {
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class It {
operator fun next() = 5
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
var inc: String = ""
class X {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
val Int.ext: () -> Int get() = { 5 }
val Long.ext: Long get() = 4.ext().toLong() //(c.kt:4)
val y: Long get() = 10L.ext
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
const val M = Long.MIN_VALUE
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
const val M = Long.MAX_VALUE
fun box(): String {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class Test {
val Long.foo: Long
get() = this + 1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JVM_IR
open class B {
val p = "OK"