JVM_IR KT-36994 don't generate stub if present in superclass

This commit is contained in:
Dmitry Petrov
2020-09-24 16:49:36 +03:00
parent 1adce11257
commit cfd62c15bf
10 changed files with 147 additions and 17 deletions
@@ -254,6 +254,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/emptyList.kt");
}
@TestMetadata("extendingAbstractCollection.kt")
public void testExtendingAbstractCollection() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/extendingAbstractCollection.kt");
}
@TestMetadata("noStubsForCollection.kt")
public void testNoStubsForCollection() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsForCollection.kt");
@@ -284,6 +289,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsInJavaSuperClass.kt");
}
@TestMetadata("noStubsInJavaSuperClass2.kt")
public void testNoStubsInJavaSuperClass2() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsInJavaSuperClass2.kt");
}
@TestMetadata("noStubsInMutableIterable.kt")
public void testNoStubsInMutableIterable() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsInMutableIterable.kt");
@@ -254,6 +254,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/emptyList.kt");
}
@TestMetadata("extendingAbstractCollection.kt")
public void testExtendingAbstractCollection() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/extendingAbstractCollection.kt");
}
@TestMetadata("noStubsForCollection.kt")
public void testNoStubsForCollection() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsForCollection.kt");
@@ -284,6 +289,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsInJavaSuperClass.kt");
}
@TestMetadata("noStubsInJavaSuperClass2.kt")
public void testNoStubsInJavaSuperClass2() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsInJavaSuperClass2.kt");
}
@TestMetadata("noStubsInMutableIterable.kt")
public void testNoStubsInMutableIterable() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/noStubsInMutableIterable.kt");