Use correct lhs KotlinType & AsmType for is check generation
There were two problems: - For asm type `OBJECT_TYPE` was used, which can be wrong in case of inline classes, because it can be an underlying value of some inline class - For KotlinType, type from rhs was used
This commit is contained in:
+5
@@ -11018,6 +11018,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeChecksForInlineClasses.kt")
|
||||
public void testTypeChecksForInlineClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/typeChecksForInlineClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UIntArraySortExample.kt")
|
||||
public void testUIntArraySortExample() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt");
|
||||
|
||||
Reference in New Issue
Block a user