[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 box(): String {
val f = fun (s: String): String = s
val g = f as String.() -> String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A
class B {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class TestClass {
companion object {
inline operator fun <T> invoke(task: () -> T) = task()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class TestClass {
inline operator fun <T> invoke(task: () -> T) = task()
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package invoke
fun test1(predicate: (Int) -> Int, i: Int) = predicate(i)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//KT-3217 Invoke convention after function invocation doesn't work
//KT-2728 Can't compile A()()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//KT-3189 Function invoke is called with no reason
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
//KT-3190 Compiler crash if function called 'invoke' calls a closure
// IGNORE_BACKEND: JS
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//KT-3297 Calling the wrong function inside an extension method to the Function0 class
infix fun <R> Function0<R>.or(alt: () -> R): R {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//KT-3450 get and invoke are not parsed in one expression
public class A(val s: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//KT-3772 Invoke and overload resolution ambiguity
open class A {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//KT-3821 Invoke convention doesn't work for `this`
class A() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
//KT-3822 Compiler crashes when use invoke convention with `this` in class which extends Function0<T>
// IGNORE_BACKEND: JS