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
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
View File
@@ -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"