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:
committed by
Space Team
parent
e290fa5f7b
commit
51ce829b96
+6
@@ -40245,6 +40245,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayTypeInDefaultPackage.kt")
|
||||
public void testArrayTypeInDefaultPackage() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/arrayTypeInDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classLiteralWithExpectedType.kt")
|
||||
public void testClassLiteralWithExpectedType() throws Exception {
|
||||
|
||||
+6
@@ -41679,6 +41679,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/arrayKClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayTypeInDefaultPackage.kt")
|
||||
public void testArrayTypeInDefaultPackage() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/onTypes/arrayTypeInDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classLiteralWithExpectedType.kt")
|
||||
public void testClassLiteralWithExpectedType() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user