[Wasm] Boolean boxed instances are the same
Fixed #KT-65411
This commit is contained in:
committed by
Space Team
parent
a171f774be
commit
a5ef668e3c
+6
@@ -1643,6 +1643,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedBooleanIdentity.kt")
|
||||
public void testBoxedBooleanIdentity() {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedIntegersCmp.kt")
|
||||
public void testBoxedIntegersCmp() {
|
||||
|
||||
Generated
+6
@@ -1643,6 +1643,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedBooleanIdentity.kt")
|
||||
public void testBoxedBooleanIdentity() {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedIntegersCmp.kt")
|
||||
public void testBoxedIntegersCmp() {
|
||||
|
||||
+6
@@ -1643,6 +1643,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedBooleanIdentity.kt")
|
||||
public void testBoxedBooleanIdentity() {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedIntegersCmp.kt")
|
||||
public void testBoxedIntegersCmp() {
|
||||
|
||||
+6
@@ -1643,6 +1643,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedBooleanIdentity.kt")
|
||||
public void testBoxedBooleanIdentity() {
|
||||
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxedIntegersCmp.kt")
|
||||
public void testBoxedIntegersCmp() {
|
||||
|
||||
Reference in New Issue
Block a user