[K2 JS] Unmute and link to issue some JS K2 tests

This commit is contained in:
Alexander Korepanov
2024-01-02 14:45:36 +01:00
committed by Space Team
parent 7773fdab9a
commit f5d0c22736
21 changed files with 231 additions and 29 deletions
@@ -1,8 +1,5 @@
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
// CHECK_CASES_COUNT: function=crash count=2 TARGET_BACKENDS=JS
// CHECK_CASES_COUNT: function=crash count=0 IGNORED_BACKENDS=JS
// CHECK_IF_COUNT: function=crash count=1 TARGET_BACKENDS=JS
// CHECK_IF_COUNT: function=crash count=3 IGNORED_BACKENDS=JS
class EncapsulatedEnum<T : Enum<T>>(val value: T)
@@ -28,4 +25,4 @@ var res = "fail"
fun box(): String {
crash(EncapsulatedEnum(MyEnum.VALUE_A))
return res
}
}