JVM_IR fix cast to non-null primitive type (FIR bootstrap issue)
This commit is contained in:
+12
@@ -13941,6 +13941,18 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ieee754"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anyCastToPrimitiveCompareTo1.kt")
|
||||
public void testAnyCastToPrimitiveCompareTo1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/anyCastToPrimitiveCompareTo1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anyCastToPrimitiveCompareTo2.kt")
|
||||
public void testAnyCastToPrimitiveCompareTo2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/anyCastToPrimitiveCompareTo2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anyToReal.kt")
|
||||
public void testAnyToReal() throws Exception {
|
||||
|
||||
+12
@@ -13983,6 +13983,18 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ieee754"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anyCastToPrimitiveCompareTo1.kt")
|
||||
public void testAnyCastToPrimitiveCompareTo1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/anyCastToPrimitiveCompareTo1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anyCastToPrimitiveCompareTo2.kt")
|
||||
public void testAnyCastToPrimitiveCompareTo2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/anyCastToPrimitiveCompareTo2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anyToReal.kt")
|
||||
public void testAnyToReal() throws Exception {
|
||||
|
||||
+10
@@ -11710,6 +11710,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ieee754"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("anyCastToPrimitiveCompareTo1.kt")
|
||||
public void testAnyCastToPrimitiveCompareTo1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/anyCastToPrimitiveCompareTo1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anyCastToPrimitiveCompareTo2.kt")
|
||||
public void testAnyCastToPrimitiveCompareTo2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/anyCastToPrimitiveCompareTo2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anyToReal.kt")
|
||||
public void testAnyToReal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ieee754/anyToReal.kt");
|
||||
|
||||
Reference in New Issue
Block a user