JVM_IR merge annotations when substituting types
Otherwise special annotations such as @EnhancedNullability are lost, which affects JVM signatures. KT-42330
This commit is contained in:
+5
@@ -284,6 +284,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/extendingAbstractCollection.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapOfPrimitivesFullJdk.kt")
|
||||
public void testMapOfPrimitivesFullJdk() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/mapOfPrimitivesFullJdk.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noStubsForCollection.kt")
|
||||
public void testNoStubsForCollection() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsForCollection.kt");
|
||||
|
||||
+5
@@ -284,6 +284,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/extendingAbstractCollection.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapOfPrimitivesFullJdk.kt")
|
||||
public void testMapOfPrimitivesFullJdk() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/mapOfPrimitivesFullJdk.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noStubsForCollection.kt")
|
||||
public void testNoStubsForCollection() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsForCollection.kt");
|
||||
|
||||
Reference in New Issue
Block a user