[Wasm] Boolean boxed instances are the same

Fixed #KT-65411
This commit is contained in:
Igor Yakovlev
2024-02-09 17:01:12 +01:00
committed by Space Team
parent a171f774be
commit a5ef668e3c
28 changed files with 190 additions and 7 deletions
@@ -2494,6 +2494,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@Test
@TestMetadata("boxedBooleanIdentity.kt")
public void testBoxedBooleanIdentity() {
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
}
@Test
@TestMetadata("boxedIntegersCmp.kt")
public void testBoxedIntegersCmp() {
@@ -2494,6 +2494,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@Test
@TestMetadata("boxedBooleanIdentity.kt")
public void testBoxedBooleanIdentity() {
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
}
@Test
@TestMetadata("boxedIntegersCmp.kt")
public void testBoxedIntegersCmp() {