[JS_IR] Turned on passing JS_IR tests
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
|
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
|
||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// IGNORE_BACKEND: JS_IR
|
// KJS_WITH_FULL_RUNTIME
|
||||||
|
|
||||||
inline fun foo(mkString: () -> String): String =
|
inline fun foo(mkString: () -> String): String =
|
||||||
mkString()
|
mkString()
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
// !LANGUAGE: +NewInference
|
// !LANGUAGE: +NewInference
|
||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// IGNORE_BACKEND: JS, JS_IR
|
// KJS_WITH_FULL_RUNTIME
|
||||||
|
// IGNORE_BACKEND: JS
|
||||||
|
|
||||||
inline fun foo(mkString: (Char, Char) -> String): String =
|
inline fun foo(mkString: (Char, Char) -> String): String =
|
||||||
mkString('O','K')
|
mkString('O','K')
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
|
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
|
||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
// IGNORE_BACKEND: JS, JS_IR
|
// IGNORE_BACKEND: JS
|
||||||
|
|
||||||
fun foo(vararg l: Long, s: String = "OK"): String =
|
fun foo(vararg l: Long, s: String = "OK"): String =
|
||||||
if (l.size == 0) s else "Fail"
|
if (l.size == 0) s else "Fail"
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
// !LANGUAGE: +NewInference
|
// !LANGUAGE: +NewInference
|
||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// IGNORE_BACKEND: JS, JS_IR
|
// KJS_WITH_FULL_RUNTIME
|
||||||
|
// IGNORE_BACKEND: JS
|
||||||
|
|
||||||
inline fun foo(x: (Int, Int) -> Int): Int =
|
inline fun foo(x: (Int, Int) -> Int): Int =
|
||||||
x(120,3)
|
x(120,3)
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
|
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType
|
||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
// IGNORE_BACKEND: JS_IR
|
|
||||||
|
|
||||||
inline fun String.app(f: (String) -> String) = f(this)
|
inline fun String.app(f: (String) -> String) = f(this)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user