[JS_IR] Turned on passing JS_IR tests

This commit is contained in:
Igor Chevdar
2019-12-20 17:50:05 +03:00
parent 7a5e8b4316
commit 9e17140daf
5 changed files with 6 additions and 5 deletions
@@ -1,7 +1,7 @@
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// IGNORE_BACKEND: JS_IR
// KJS_WITH_FULL_RUNTIME
inline fun foo(mkString: () -> String): String =
mkString()
@@ -1,7 +1,8 @@
// !LANGUAGE: +NewInference
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// IGNORE_BACKEND: JS, JS_IR
// KJS_WITH_FULL_RUNTIME
// IGNORE_BACKEND: JS
inline fun foo(mkString: (Char, Char) -> String): String =
mkString('O','K')
@@ -1,6 +1,6 @@
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS, JS_IR
// IGNORE_BACKEND: JS
fun foo(vararg l: Long, s: String = "OK"): String =
if (l.size == 0) s else "Fail"
@@ -1,7 +1,8 @@
// !LANGUAGE: +NewInference
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// IGNORE_BACKEND: JS, JS_IR
// KJS_WITH_FULL_RUNTIME
// IGNORE_BACKEND: JS
inline fun foo(x: (Int, Int) -> Int): Int =
x(120,3)