Support flexible types internally in typeOf

#KT-45066 Fixed
This commit is contained in:
Alexander Udalov
2021-05-21 19:27:59 +02:00
parent 26cdb2f928
commit 6e975b3498
21 changed files with 358 additions and 42 deletions
@@ -37404,9 +37404,15 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
}
@Test
@TestMetadata("flexibleType.kt")
public void testFlexibleType() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/flexibleType.kt");
@TestMetadata("flexibleTypes_after.kt")
public void testFlexibleTypes_after() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_after.kt");
}
@Test
@TestMetadata("flexibleTypes_before.kt")
public void testFlexibleTypes_before() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_before.kt");
}
@Test
@@ -37458,6 +37464,18 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/classes.kt");
}
@Test
@TestMetadata("flexibleTypes_after.kt")
public void testFlexibleTypes_after() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/flexibleTypes_after.kt");
}
@Test
@TestMetadata("flexibleTypes_before.kt")
public void testFlexibleTypes_before() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/flexibleTypes_before.kt");
}
@Test
@TestMetadata("inlineClasses.kt")
public void testInlineClasses() throws Exception {