JVM_IR emulate JVM hack for generic signatures in KT-18189

KT-40307

See also KT-42609
This commit is contained in:
Dmitry Petrov
2020-10-12 17:58:19 +03:00
parent f20a695c0e
commit df64bb3eb7
16 changed files with 392 additions and 8 deletions
@@ -1196,6 +1196,21 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/genericClass.kt");
}
@TestMetadata("implementsJavaMap.kt")
public void testImplementsJavaMap() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/implementsJavaMap.kt");
}
@TestMetadata("implementsMap.kt")
public void testImplementsMap() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/implementsMap.kt");
}
@TestMetadata("implementsSortedMap.kt")
public void testImplementsSortedMap() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/implementsSortedMap.kt");
}
@TestMetadata("nonGenericClass.kt")
public void testNonGenericClass() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/nonGenericClass.kt");
@@ -1166,6 +1166,21 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/genericClass.kt");
}
@TestMetadata("implementsJavaMap.kt")
public void testImplementsJavaMap() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/implementsJavaMap.kt");
}
@TestMetadata("implementsMap.kt")
public void testImplementsMap() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/implementsMap.kt");
}
@TestMetadata("implementsSortedMap.kt")
public void testImplementsSortedMap() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/implementsSortedMap.kt");
}
@TestMetadata("nonGenericClass.kt")
public void testNonGenericClass() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/specialBridges/signatures/nonGenericClass.kt");