[test] Mute failing irText tests

This commit is contained in:
Sergej Jaskiewicz
2023-03-13 16:27:27 +01:00
committed by Space Team
parent 7dba138da6
commit b57f436a44
106 changed files with 279 additions and 135 deletions
@@ -1,3 +1,6 @@
// IGNORE_BACKEND_K2: JS_IR
// IGNORE_BACKEND_K2: JS_IR_ES6
annotation class TestAnn(val x: String)
@TestAnn("class")
@@ -18,4 +21,4 @@ class Host {
enum class TestEnum
@TestAnn("annotation")
annotation class TestAnnotation
annotation class TestAnnotation
@@ -1,7 +1,10 @@
// FIR_IDENTICAL
// IGNORE_BACKEND_K2: JS_IR
// IGNORE_BACKEND_K2: JS_IR_ES6
const val ONE = 1
annotation class A(val x: Int)
@A(ONE) fun test1() {}
@A(1+1) fun test2() {}
@A(1+1) fun test2() {}
@@ -1,7 +1,9 @@
// FIR_IDENTICAL
// WITH_STDLIB
// IGNORE_BACKEND_K2: JS_IR
// IGNORE_BACKEND_K2: JS_IR_ES6
annotation class Ann
@delegate:Ann
val test1 by lazy { 42 }
val test1 by lazy { 42 }
@@ -1,3 +1,6 @@
// IGNORE_BACKEND_K2: JS_IR
// IGNORE_BACKEND_K2: JS_IR_ES6
annotation class TestAnn(val x: String)
enum class TestEnum {
@@ -5,4 +8,4 @@ enum class TestEnum {
@TestAnn("ENTRY2") ENTRY2 {
val x = 42
}
}
}
@@ -1,6 +1,9 @@
// IGNORE_BACKEND_K2: JS_IR
// IGNORE_BACKEND_K2: JS_IR_ES6
enum class En { A, B, C, D }
annotation class TestAnn(val x: En)
@TestAnn(En.A)
fun test1() {}
fun test1() {}
@@ -1,8 +1,10 @@
// WITH_STDLIB
// IGNORE_BACKEND_K2: JS_IR
// IGNORE_BACKEND_K2: JS_IR_ES6
annotation class A(val x: String)
fun foo(m: Map<String, Int>) {
@A("foo/test")
val test by lazy { 42 }
}
}