Unmute ir-tests after CR support

This commit is contained in:
Mikhael Bogdanov
2018-08-08 12:28:18 +03:00
parent 6b5b9fbde4
commit 357359b1dd
352 changed files with 6 additions and 352 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
val foo1 = fun Any.(): String {
return "239" + this
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun Any.foo1() : ()-> String {
return { "239" + this }
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun foo(block: (String, String, String) -> String): String = block("O", "fail", "K")
fun box() = foo(fun(x: String, _: String, y: String) = x + y)
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun box(): String {
val f = fun (s: String): String = s
val g = f as String.() -> String
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class A
class B {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
package invoke
fun test1(predicate: (Int) -> Int, i: Int) = predicate(i)
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//KT-3217 Invoke convention after function invocation doesn't work
//KT-2728 Can't compile A()()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//KT-3189 Function invoke is called with no reason
fun box(): String {
@@ -1,4 +1,3 @@
// 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,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//KT-3450 get and invoke are not parsed in one expression
public class A(val s: String) {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//KT-3772 Invoke and overload resolution ambiguity
open class A {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun box() =
B().method()
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class Data
fun newInit(f: Data.() -> Data) = Data().f()
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class Comment() {
var article = ""
}
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun Any.with(operation : Any.() -> Any) = operation().toString()
val f = { a : Int -> }
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class A() {
var x : Int = 0
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun foo(f: (Int?) -> Int): Int {
return f(0)
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun box(): String {
fun String.f() = this
val vf: String.() -> String = { this }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun simple() = fun (): Boolean { return true }
fun withLabel() = l@ fun (): Boolean { return@l true }