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,5 +1,5 @@
// !LANGUAGE: +NewInference
// IGNORE_BACKEND: JS_IR, JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
class Foo
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class A {
companion object {
fun ok() = "OK"
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS
enum class E {
A, B;
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun foo(x: () -> String) = x()
fun String.id() = this
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun go(f: () -> String) = f()
fun String.id(): String = this
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// SKIP_SOURCEMAP_REMAPPING
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
fun <T> get(t: T): () -> String {
return t::toString
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
//WITH_RUNTIME
fun box(): String {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
object Singleton {
fun ok() = "OK"
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
fun Boolean.foo() = 1
fun Byte.foo() = 2
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
fun box(): String {
val f = "KOTLIN"::get