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