IR: support buildSimpleType for IrCapturedType

To make it possible to change nullability of IrCapturedType and change
its annotations, which is happening when determining overridability of
functions via IR.

 #KT-63437 Fixed
This commit is contained in:
Alexander Udalov
2023-11-14 15:00:01 +01:00
committed by Space Team
parent 8379e48e33
commit 471f25abfc
13 changed files with 135 additions and 16 deletions
@@ -28471,6 +28471,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/javaInterop/genericSamSmartcast.kt");
}
@Test
@TestMetadata("inheritanceWithWildcard.kt")
public void testInheritanceWithWildcard() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/inheritanceWithWildcard.kt");
}
@Test
@TestMetadata("javaOuterClassDependsOnInner.kt")
public void testJavaOuterClassDependsOnInner() throws Exception {
@@ -30169,6 +30169,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/javaInterop/genericSamSmartcast.kt");
}
@Test
@TestMetadata("inheritanceWithWildcard.kt")
public void testInheritanceWithWildcard() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/inheritanceWithWildcard.kt");
}
@Test
@TestMetadata("javaInterfaceFieldDirectAccess.kt")
public void testJavaInterfaceFieldDirectAccess() throws Exception {
@@ -30169,6 +30169,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
runTest("compiler/testData/codegen/box/javaInterop/genericSamSmartcast.kt");
}
@Test
@TestMetadata("inheritanceWithWildcard.kt")
public void testInheritanceWithWildcard() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/inheritanceWithWildcard.kt");
}
@Test
@TestMetadata("javaInterfaceFieldDirectAccess.kt")
public void testJavaInterfaceFieldDirectAccess() throws Exception {