KT-42018 explicitly cast inline class values in safe-as
This commit is contained in:
Generated
+5
@@ -12182,6 +12182,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UIntSafeAsInt.kt")
|
||||
public void testUIntSafeAsInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntSafeAsInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt")
|
||||
public void testUnboxNullableValueOfInlineClassWithNonNullUnderlyingType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt");
|
||||
|
||||
Generated
+5
@@ -12182,6 +12182,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UIntSafeAsInt.kt")
|
||||
public void testUIntSafeAsInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntSafeAsInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt")
|
||||
public void testUnboxNullableValueOfInlineClassWithNonNullUnderlyingType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt");
|
||||
|
||||
+5
@@ -12247,6 +12247,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UIntSafeAsInt.kt")
|
||||
public void testUIntSafeAsInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntSafeAsInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt")
|
||||
public void testUnboxNullableValueOfInlineClassWithNonNullUnderlyingType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt");
|
||||
|
||||
Generated
+5
@@ -6702,6 +6702,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/typeChecksForInlineClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UIntSafeAsInt.kt")
|
||||
public void testUIntSafeAsInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntSafeAsInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt")
|
||||
public void testUnboxNullableValueOfInlineClassWithNonNullUnderlyingType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt");
|
||||
|
||||
Reference in New Issue
Block a user