diff --git a/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt b/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt index fac6e96a3bb..942657f4652 100644 --- a/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt +++ b/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR -// IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS, JS_IR enum class E { A, B; diff --git a/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt b/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt index d72c125b8be..74940077335 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR -// IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS, JS_IR fun box(): String { fun bar() {} diff --git a/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt b/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt index 89f880e5028..dbdbf212bb0 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND_FIR: JVM_IR -// IGNORE_BACKEND: JS_IR fun box(): String { fun OK() {} diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound/emptyLHS.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound/emptyLHS.kt index 05127d7720e..787975fd0fc 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound/emptyLHS.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bound/emptyLHS.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND_FIR: JVM_IR -// IGNORE_BACKEND: JS_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt index 616b590d6a9..b2a9e130863 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND_FIR: JVM_IR -// IGNORE_BACKEND: JS_IR // WITH_COROUTINES // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt b/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt index 7658be3dd6c..81074ebb665 100644 --- a/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt +++ b/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt @@ -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.* diff --git a/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt b/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt index 09681100305..b8170373ef9 100644 --- a/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt +++ b/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/constructors/constructorName.kt b/compiler/testData/codegen/box/reflection/constructors/constructorName.kt index b09636055f6..fe393425020 100644 --- a/compiler/testData/codegen/box/reflection/constructors/constructorName.kt +++ b/compiler/testData/codegen/box/reflection/constructors/constructorName.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt index cb3c7288eec..308484a5299 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt @@ -1,4 +1,6 @@ -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS_IR +// IGNORE_BACKEND: NATIVE // WITH_REFLECT diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrBoxJsTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrBoxJsTestGenerated.java index f521ed0a533..b2bf94c96fa 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrBoxJsTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrBoxJsTestGenerated.java @@ -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"); diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java index 45f66e76caf..e09ccad71f1 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/BoxJsTestGenerated.java @@ -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"); diff --git a/js/js.translator/testData/box/callableReference/function/classMemberDirectCache.kt b/js/js.translator/testData/box/callableReference/function/classMemberDirectCache.kt deleted file mode 100644 index bcc4dfea18f..00000000000 --- a/js/js.translator/testData/box/callableReference/function/classMemberDirectCache.kt +++ /dev/null @@ -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")) -} diff --git a/js/js.translator/testData/box/expression/function/manglingClashWithFunctionsWithoutParameters.kt b/js/js.translator/testData/box/expression/function/manglingClashWithFunctionsWithoutParameters.kt index 72ad03ae665..ede215602e4 100644 --- a/js/js.translator/testData/box/expression/function/manglingClashWithFunctionsWithoutParameters.kt +++ b/js/js.translator/testData/box/expression/function/manglingClashWithFunctionsWithoutParameters.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1303 package foo diff --git a/js/js.translator/testData/box/expression/function/manglingStability.kt b/js/js.translator/testData/box/expression/function/manglingStability.kt index b37d073689c..ae2e543bc36 100644 --- a/js/js.translator/testData/box/expression/function/manglingStability.kt +++ b/js/js.translator/testData/box/expression/function/manglingStability.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1334 package foo