[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
fun WithCompanion.test(): String {
object : WithCompanion(this) {}
return "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
var a: String = "Fail"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A(
val a: String = object {
override fun toString(): String = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// Enable for JVM backend when KT-8120 gets fixed
// IGNORE_BACKEND: JVM
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
var log = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// Enable for JVM backend when KT-8120 gets fixed
// IGNORE_BACKEND: JVM
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
val A.a: String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
class C(val s : String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
class C(val s : String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
val a = 1
fun calc () : Int {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun String.bar(): String {
open class Local {
fun result() = this@bar
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package a.b
interface Test {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo() : String {
val u = {
class B(val data : String)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package org.example
interface SomeTrait {}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package t
class Reproduce {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class C(val s: String) {
fun test(): String {
return s
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
val foo = "Foo"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
var a: String = "Fail"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A(
val a: String = {
open class B() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val capturedInConstructor = 1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
fun box(): String {
class Local : Inner() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
val k = object {
val ok = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
var log = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
var x = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
var x = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JVM
class A(val x: String) {