KT-42018 explicitly cast inline class values in safe-as

This commit is contained in:
Dmitry Petrov
2020-11-18 16:57:13 +03:00
parent edd3b457d4
commit 3d2f5f4bc1
10 changed files with 53 additions and 1 deletions
@@ -15582,6 +15582,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
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");