[JS IR] Update test data
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: JS, JS_IR
|
||||
enum class E {
|
||||
A, B;
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: JS, JS_IR
|
||||
|
||||
fun box(): String {
|
||||
fun bar() {}
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
fun box(): String {
|
||||
fun OK() {}
|
||||
|
||||
Vendored
-1
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_COROUTINES
|
||||
// WITH_RUNTIME
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// !LANGUAGE: +ReleaseCoroutines
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR, NATIVE
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
import helpers.*
|
||||
|
||||
+1
-1
@@ -1,8 +1,8 @@
|
||||
// !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_COROUTINES
|
||||
// WITH_RUNTIME
|
||||
// SKIP_DCE_DRIVEN
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
|
||||
-5
@@ -104,11 +104,6 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/callableReference/function/classMemberAndNonExtensionCompatibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classMemberDirectCache.kt")
|
||||
public void testClassMemberDirectCache() throws Exception {
|
||||
runTest("js/js.translator/testData/box/callableReference/function/classMemberDirectCache.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classMemberOverridden.kt")
|
||||
public void testClassMemberOverridden() throws Exception {
|
||||
runTest("js/js.translator/testData/box/callableReference/function/classMemberOverridden.kt");
|
||||
|
||||
-5
@@ -104,11 +104,6 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/callableReference/function/classMemberAndNonExtensionCompatibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classMemberDirectCache.kt")
|
||||
public void testClassMemberDirectCache() throws Exception {
|
||||
runTest("js/js.translator/testData/box/callableReference/function/classMemberDirectCache.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classMemberOverridden.kt")
|
||||
public void testClassMemberOverridden() throws Exception {
|
||||
runTest("js/js.translator/testData/box/callableReference/function/classMemberOverridden.kt");
|
||||
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
package foo
|
||||
|
||||
class A(val v: String) {
|
||||
fun foo() = v
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val aRef1 = A::foo
|
||||
val aRef2 = A::foo
|
||||
if (aRef1 !== aRef2) return "Fail != "
|
||||
return aRef1(A("O")) + aRef2(A("K"))
|
||||
}
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// EXPECTED_REACHABLE_NODES: 1303
|
||||
package foo
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// EXPECTED_REACHABLE_NODES: 1334
|
||||
package foo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user