JS IR: mute codegen box tests automatically

This commit is contained in:
Anton Bannykh
2018-06-07 14:17:45 +03:00
parent 7e1713af44
commit 96355e2732
2384 changed files with 2384 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun foo() {
val l = ArrayList<Int>(2)
l.add(1)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun t1() : Boolean {
val s1 : String? = "sff"
val s2 : String? = null
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
class Test {
val Long.foo: Long
get() = this + 1
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun Int.foo() = 239
fun Long.bar() = 239.toLong()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun Long.id() = this
fun String.drop2() = if (length >= 2) subSequence(2, length) else null
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun Long.id() = this
fun String.drop2() = if (length >= 2) subSequence(2, length) else null
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun Long.id() = this
fun String.drop2() = if (length >= 2) subSequence(2, length) else null
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun Long.id() = this
fun String.drop2() = if (length >= 2) subSequence(2, length) else null
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun f(b : Long.(Long)->Long) = 1L?.b(2L)
fun box(): String {