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
@@ -29737,9 +29737,14 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/reflection/typeOf/classes.kt");
}
@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");
}
@TestMetadata("flexibleTypes_before.kt")
public void testFlexibleTypes_before() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/flexibleTypes_before.kt");
}
@TestMetadata("inlineClasses.kt")
@@ -29792,6 +29797,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/classes.kt");
}
@TestMetadata("flexibleTypes_after.kt")
public void testFlexibleTypes_after() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/flexibleTypes_after.kt");
}
@TestMetadata("flexibleTypes_before.kt")
public void testFlexibleTypes_before() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/flexibleTypes_before.kt");
}
@TestMetadata("inlineClasses.kt")
public void testInlineClasses() throws Exception {
runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/inlineClasses.kt");