Fix reflection class lookup in default package

Do not append "." to the name of the class in the default package.
This commit is contained in:
Alexander Udalov
2022-09-29 01:33:24 +02:00
committed by Space Team
parent e290fa5f7b
commit 51ce829b96
6 changed files with 57 additions and 3 deletions
@@ -32100,6 +32100,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt");
}
@TestMetadata("arrayTypeInDefaultPackage.kt")
public void testArrayTypeInDefaultPackage() throws Exception {
runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/arrayTypeInDefaultPackage.kt");
}
@TestMetadata("classLiteralWithExpectedType.kt")
public void testClassLiteralWithExpectedType() throws Exception {
runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/classLiteralWithExpectedType.kt");