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
var result = ""
fun getReceiver() : Int {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//KT-1061 Can't call function defined as a val
object X {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//KT-1249 IllegalStateException invoking function property
class TestClass(val body : () -> Unit) : Any() {
fun run() {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//KT-1290 Method property in constructor causes NPE
class Foo<T>(val filter: (T) -> Boolean) {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
fun test1(f: (Int) -> Int) = f(1)
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
var sayResult = ""
class NoiseMaker {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
var result = ""
fun result(r: String) { result = r }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun test(cl: Int.() -> Int):Int = 11.cl()
class Foo {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class A {
companion object
}
@@ -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,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun box() : String {
val y = 12
val op = { x:Int -> (x + y).toString() }