[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
abstract class Base {
val result = "OK"
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import kotlin.reflect.KProperty
val four: Int by NumberDecrypter
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import kotlin.reflect.KProperty
var result: String by Delegate
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class E {
I
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
val Array<String>.firstElement: String get() = get(0)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
//For KT-6020
import kotlin.reflect.KProperty1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
var state = ""
var topLevel: Int
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// Name of the getter should be 'getaBcde' according to JavaBean conventions
var aBcde: Int = 239
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import kotlin.reflect.KProperty1
class A {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KT-12044 Assertion "Rewrite at slice LEXICAL_SCOPE" for 'if' with property references
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Foo {
protected var x = 0
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
data class Foo(var bar: Int?)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
var recivier : Any? = "fail"
var value2 : Any? = "fail2"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//WITH_RUNTIME
fun box(): String {
@@ -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, NATIVE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
class Local {
var result = "Fail"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class Base {
open val foo = "Base"
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
var value: String = "fail1"
private set
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
import kotlin.reflect.KMutableProperty
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-12337 Reference to property with invisible setter should not be a KMutableProperty
import kotlin.reflect.KProperty1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_REFLECT
import kotlin.reflect.KProperty0
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
val String.id: String
get() = this
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A(val x: Int)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
var storage = 0
var Int.foo: Int
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
data class Box(var value: String)
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
data class Box(val value: String)
var pr = Box("first")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
data class Box(val value: String)
val foo = Box("lol")