From 945cdc8884fc8bac3222cd79d5709269f73ec736 Mon Sep 17 00:00:00 2001 From: Ilmir Usmanov Date: Thu, 19 Jan 2023 17:04:05 +0100 Subject: [PATCH] Minor. Ignore tests in JS_IR_ES6, regenerate tests --- .../box/coroutines/intrinsicSemantics/intercepted.kt | 2 +- .../box/coroutines/intrinsicSemantics/releaseIntercepted.kt | 2 +- .../kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/compiler/testData/codegen/box/coroutines/intrinsicSemantics/intercepted.kt b/compiler/testData/codegen/box/coroutines/intrinsicSemantics/intercepted.kt index 76e97718ac2..f76f9a726ec 100644 --- a/compiler/testData/codegen/box/coroutines/intrinsicSemantics/intercepted.kt +++ b/compiler/testData/codegen/box/coroutines/intrinsicSemantics/intercepted.kt @@ -1,6 +1,6 @@ // WITH_STDLIB // WITH_COROUTINES -// IGNORE_BACKEND: JS_IR, NATIVE +// IGNORE_BACKEND: JS_IR, JS_IR_ES6, NATIVE import helpers.* import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* diff --git a/compiler/testData/codegen/box/coroutines/intrinsicSemantics/releaseIntercepted.kt b/compiler/testData/codegen/box/coroutines/intrinsicSemantics/releaseIntercepted.kt index ba528c665d9..08cf443111a 100644 --- a/compiler/testData/codegen/box/coroutines/intrinsicSemantics/releaseIntercepted.kt +++ b/compiler/testData/codegen/box/coroutines/intrinsicSemantics/releaseIntercepted.kt @@ -1,5 +1,5 @@ // WITH_STDLIB -// IGNORE_BACKEND: JS_IR, NATIVE +// IGNORE_BACKEND: JS_IR, JS_IR_ES6, NATIVE import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index fe03ea4f5eb..bcf923c3fc3 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -9254,6 +9254,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/coroutines/intrinsicSemantics/intercepted.kt"); } + @Test + @TestMetadata("releaseIntercepted.kt") + public void testReleaseIntercepted() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/intrinsicSemantics/releaseIntercepted.kt"); + } + @Test @TestMetadata("resultExceptionOrNullInLambda.kt") public void testResultExceptionOrNullInLambda() throws Exception {