Support Array::class literal, forbid Array<X>::class on non-JVM
#KT-31230 Fixed
This commit is contained in:
+10
@@ -2956,6 +2956,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/classLiteral"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("bareArray.kt")
|
||||
public void testBareArray() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classLiteral/bareArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitiveKClassEquality.kt")
|
||||
public void testPrimitiveKClassEquality() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classLiteral/primitiveKClassEquality.kt");
|
||||
@@ -20612,6 +20617,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/classLiterals/arrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("bareArray.kt")
|
||||
public void testBareArray() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classLiterals/bareArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("builtinClassLiterals.kt")
|
||||
public void testBuiltinClassLiterals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classLiterals/builtinClassLiterals.kt");
|
||||
|
||||
Reference in New Issue
Block a user