Mute failed jvm ir tests

This commit is contained in:
Mikhael Bogdanov
2018-06-28 11:45:21 +02:00
parent a10c06eb4d
commit e149cbe852
1890 changed files with 1890 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun box(): String {
val f = fun (s: String): String = s
val g = f as String.() -> String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class A
class B {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class TestClass {
companion object {
inline operator fun <T> invoke(task: () -> T) = task()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class TestClass {
inline operator fun <T> invoke(task: () -> T) = task()
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
package invoke
fun test1(predicate: (Int) -> Int, i: Int) = predicate(i)
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
//KT-3217 Invoke convention after function invocation doesn't work
//KT-2728 Can't compile A()()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
//KT-3189 Function invoke is called with no reason
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: 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: 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: 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: JVM_IR
//KT-3772 Invoke and overload resolution ambiguity
open class A {