JS IR: mute codegen box tests automatically
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
fun <T: Number?> foo(t: T) {
|
||||
(t ?: 42).toInt()
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
interface PsiElement {
|
||||
fun <T: PsiElement> findChildByType(i: Int): T? =
|
||||
if (i == 42) JetOperationReferenceExpression() as T else throw Exception()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
fun box(): String {
|
||||
if ((42 ?: 239) != 42) return "Fail Int"
|
||||
if ((42.toLong() ?: 239.toLong()) != 42.toLong()) return "Fail Long"
|
||||
|
||||
Reference in New Issue
Block a user