[test] Run irText tests against K1 frontend for JS

This commit is contained in:
Sergej Jaskiewicz
2023-03-14 20:20:53 +01:00
committed by Space Team
parent 502a0b7e10
commit 27ccef868a
135 changed files with 6607 additions and 697 deletions
@@ -1,5 +1,8 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
data class Test1(val x: Int, val y: String, val z: Any)
data class Test2(val x: Any?)
data class Test3(val d: Double, val dn: Double?, val f: Float, val df: Float?)
data class Test3(val d: Double, val dn: Double?, val f: Float, val df: Float?)
@@ -1,5 +1,7 @@
// WITH_STDLIB
// SKIP_KLIB_TEST
// IGNORE_BACKEND_K1: JS_IR
// IGNORE_BACKEND_K1: JS_IR_ES6
sealed class A : CharSequence {
data class B(val c: CharSequence) : A(), CharSequence by c
@@ -1,4 +1,6 @@
// SKIP_KT_DUMP
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
data class A(val x: Int) {
val String.x: String get() = this
@@ -1,7 +1,10 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// This test emulates 'allopen' compiler plugin.
@Suppress("INCOMPATIBLE_MODIFIERS")
open data class ValidatedProperties(
open val test1: String,
open val test2: String
)
)