[FIR] Disable failing blackbox codegen tests for FIR.

This commit is contained in:
Mark Punzalan
2019-11-18 14:35:02 -08:00
committed by Mikhail Glukhikh
parent fc9ccafb84
commit 9df2f69f09
4019 changed files with 4042 additions and 22 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class SuperFoo {
public fun bar(): String {
if (this is Foo) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See also KT-7801
class A
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Wrapper<T>(var x: T)
inline fun <reified T> change(w: Wrapper<T>, x: Any?) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
fun foo() = "OK"
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
open val a = "OK"
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
class B : A() {
val a = "FAIL"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
fun f(): String =
when (this) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
open fun foo() = "FAIL"
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Bob {
fun Bob.bar() = "OK"
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Test.kt
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class KFoo {
fun foo(): String {
if (this is KFooQux) return qux
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun String?.foo() = this ?: "OK"
fun foo(i: Int?): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun baz(s: String?): Int {
if (s == null) return 0
return when(s) {